summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/user/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/user/user.js')
-rw-r--r--core/modules/user/user.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/modules/user/user.js b/core/modules/user/user.js
index 45f554cf8c0..98d1d0e0542 100644
--- a/core/modules/user/user.js
+++ b/core/modules/user/user.js
@@ -89,7 +89,11 @@
* Returns the estimated strength and the relevant output message.
*/
Drupal.evaluatePasswordStrength = function (password, translate) {
- var indicatorText, indicatorClass, weaknesses = 0, strength = 100, msg = [];
+ var indicatorText;
+ var indicatorClass;
+ var weaknesses = 0;
+ var strength = 100;
+ var msg = [];
var hasLowercase = /[a-z]+/.test(password);
var hasUppercase = /[A-Z]+/.test(password);