security: increase minimum password length from 8 to 12 characters

This commit is contained in:
2026-02-27 11:34:32 -08:00
parent 6a3be80379
commit 1237cf8491
2 changed files with 4 additions and 4 deletions

View File

@@ -49,8 +49,8 @@ function init(ctx) {
showFlash("Please choose a password.");
return;
}
if (pw.length < 8) {
showFlash("Password must be at least 8 characters.");
if (pw.length < 12) {
showFlash("Password must be at least 12 characters.");
return;
}
if (pw !== pw2) {