Fix Typo in Password Validator
Fix typo error in default password validator message. Change-Id: I7a495fc4f6aad72bec7efcfe7940f691a2f8d7d9 Closes-Bug: #1562739
This commit is contained in:
parent
ffc2f709dc
commit
4ebf7f56b6
@ -73,7 +73,7 @@ $(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (password.match(/[!@#$%^&*()_+|\/.,~?><:{}]+/) === null) {
|
if (password.match(/[!@#$%^&*()_+|\/.,~?><:{}]+/) === null) {
|
||||||
text += " 1 specical character";
|
text += " 1 special character";
|
||||||
meetRequirements = false;
|
meetRequirements = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,6 +81,6 @@ $(function() {
|
|||||||
mainCheck(div, meetRequirements, true, text);
|
mainCheck(div, meetRequirements, true, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$("input[id$='assword'][type='password']").keyup(checkStrengthRemoveErrIfMatches);
|
$("input[id$='password'][type='password']").keyup(checkStrengthRemoveErrIfMatches);
|
||||||
$("input[id$='assword-clone'][type='password']").keyup(checkPasswordsMatch);
|
$("input[id$='password-clone'][type='password']").keyup(checkPasswordsMatch);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user