Raise the minimum password length to 20 characters

The initial admin password of setup-prod-initial-login is now
admin-initial-password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
finnandClaude Opus 5.5 committed 2026-10-23 19:23:37 +00:00
1 parent fc1463c290
commit e88704017e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -43,4 +43,4 @@ stop-prod:
setup-prod-initial-login: setup-prod-initial-login:
docker-compose exec max flask add-domain finn.st docker-compose exec max flask add-domain finn.st
docker-compose exec max flask reset-admin admin@finn.st admin-initial docker-compose exec max flask reset-admin admin@finn.st admin-initial-password
+1 -1
View File
@@ -1,6 +1,6 @@
from .hashing import MAX_PASSWORD_BYTES, is_password_too_long from .hashing import MAX_PASSWORD_BYTES, is_password_too_long
MIN_PASSWORD_LENGTH = 12 MIN_PASSWORD_LENGTH = 20
PASSWORD_TOO_SHORT_MESSAGE = ( PASSWORD_TOO_SHORT_MESSAGE = (
"The password must be at least {min_length} characters long" "The password must be at least {min_length} characters long"