security: increase minimum password length from 8 to 12 characters
Цей коміт міститься в:
@@ -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) {
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача