Loading core/modules/user/user.js +3 −3 Changes for core/modules/user/user.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -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. Loading core/modules/user/user.module +1 −1 Changes for core/modules/user/user.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1270,7 +1270,7 @@ function user_form_process_password_confirm($element) { $password_settings += array( 'strengthTitle' => t('Password strength:'), 'hasWeaknesses' => t('To make your password stronger:'), 'tooShort' => t('Make it at least 6 characters'), 'tooShort' => t('Make it at least 12 characters'), 'addLowerCase' => t('Add lowercase letters'), 'addUpperCase' => t('Add uppercase letters'), 'addNumbers' => t('Add numbers'), Loading Loading
core/modules/user/user.js +3 −3 Changes for core/modules/user/user.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -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. Loading
core/modules/user/user.module +1 −1 Changes for core/modules/user/user.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -1270,7 +1270,7 @@ function user_form_process_password_confirm($element) { $password_settings += array( 'strengthTitle' => t('Password strength:'), 'hasWeaknesses' => t('To make your password stronger:'), 'tooShort' => t('Make it at least 6 characters'), 'tooShort' => t('Make it at least 12 characters'), 'addLowerCase' => t('Add lowercase letters'), 'addUpperCase' => t('Add uppercase letters'), 'addNumbers' => t('Add numbers'), Loading