mirror of
https://github.com/chatmail/relay.git
synced 2026-05-15 19:14:44 +00:00
doveauth: fix logging statement
This commit is contained in:
@@ -47,8 +47,10 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool:
|
||||
or len(localpart) < config.username_min_length
|
||||
):
|
||||
logging.warning(
|
||||
"localpart %s has to be between %s and %s chars long"
|
||||
% (localpart, config.username_min_length, config.username_max_length)
|
||||
"localpart %s has to be between %s and %s chars long",
|
||||
localpart,
|
||||
config.username_min_length,
|
||||
config.username_max_length,
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user