security: increase minimum password length from 8 to 12 characters
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user