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:
1 parent
fc1463c290
commit
e88704017e
2 files changed
+2
-2
No files matched your search
@@ -43,4 +43,4 @@ stop-prod:
|
||||
|
||||
setup-prod-initial-login:
|
||||
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,6 +1,6 @@
|
||||
from .hashing import MAX_PASSWORD_BYTES, is_password_too_long
|
||||
|
||||
MIN_PASSWORD_LENGTH = 12
|
||||
MIN_PASSWORD_LENGTH = 20
|
||||
|
||||
PASSWORD_TOO_SHORT_MESSAGE = (
|
||||
"The password must be at least {min_length} characters long"
|
||||
|
||||
Reference in new issue
Block a user