diff -u b/core/modules/user/user.js b/core/modules/user/user.js --- b/core/modules/user/user.js +++ b/core/modules/user/user.js @@ -98,7 +98,6 @@ Drupal.evaluatePasswordStrength = function (password, translate) { var indicatorText; var indicatorClass; - var indicatorColor; var weaknesses = 0; var strength = 100; var msg = []; @@ -188,8 +187,7 @@ strength: strength, message: msg, indicatorText: indicatorText, - indicatorClass: indicatorClass, - indicatorColor: indicatorColor + indicatorClass: indicatorClass }; }; diff -u b/core/modules/user/user.permissions.js b/core/modules/user/user.permissions.js --- b/core/modules/user/user.permissions.js +++ b/core/modules/user/user.permissions.js @@ -51,7 +51,7 @@ // Re-insert the table into the DOM. $ancestor[method]($table); - } + }); }, /**