be fine with 9 chars for password already

This commit is contained in:
holger krekel
2023-12-07 17:10:41 +01:00
parent c67fb69af2
commit 8cb77d3b98
2 changed files with 3 additions and 3 deletions

View File

@@ -28,8 +28,8 @@ def is_allowed_to_create(user, cleartext_password) -> bool:
logging.warning(f"blocked account creation because {NOCREATE_FILE!r} exists.")
return False
if len(cleartext_password) < 10:
logging.warning("Password needs to be at least 10 characters long")
if len(cleartext_password) < 9:
logging.warning("Password needs to be at least 9 characters long")
return False
parts = user.split("@")