Commit 4af9619a authored by alexpott's avatar alexpott

Issue #2254235 by AohRveTPV, mahtoranjeet, er.pushpinderrana, yogen.prasad,...

Issue #2254235 by AohRveTPV, mahtoranjeet, er.pushpinderrana, yogen.prasad, ashutoshsngh, Manjit.Singh, Charles Belov, nod_: Don't include leading and trailing spaces in password strength
parent 975c1642
......@@ -109,6 +109,7 @@
* @return {object}
*/
Drupal.evaluatePasswordStrength = function (password, translate) {
password = password.trim();
var indicatorText;
var indicatorClass;
var weaknesses = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment