Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
|
@ -133,10 +133,10 @@
|
|||
var $usernameBox = $('input.username');
|
||||
var username = ($usernameBox.length > 0) ? $usernameBox.val() : translate.username;
|
||||
|
||||
// Lose 5 points for every character less than 6, plus a 30 point penalty.
|
||||
if (password.length < 6) {
|
||||
// Lose 5 points for every character less than 12, plus a 30 point penalty.
|
||||
if (password.length < 12) {
|
||||
msg.push(translate.tooShort);
|
||||
strength -= ((6 - password.length) * 5) + 30;
|
||||
strength -= ((12 - password.length) * 5) + 30;
|
||||
}
|
||||
|
||||
// Count weaknesses.
|
||||
|
|
|
|||
Reference in a new issue