mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +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_max_length,
|
||||
)
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user