doveauth: fix logging statement

This commit is contained in:
missytake 2023-12-12 15:01:23 +01:00
parent 849b9d430c
commit 74f9e7536b

View File

@ -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