doveauth: fix logging statement
This commit is contained in:
parent
849b9d430c
commit
74f9e7536b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user