mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 12:58:04 +00:00
doveauth: ensure username length
This commit is contained in:
@@ -60,6 +60,7 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool:
|
|||||||
config.username_min_length,
|
config.username_min_length,
|
||||||
config.username_max_length,
|
config.username_max_length,
|
||||||
)
|
)
|
||||||
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user