Fix Typo in Password Validator

Fix typo error in default password validator message.

Change-Id: I7a495fc4f6aad72bec7efcfe7940f691a2f8d7d9
Closes-Bug: #1562739
This commit is contained in:
Gene Kuo 2016-03-28 22:36:56 +08:00
parent ffc2f709dc
commit 4ebf7f56b6
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ $(function() {
}
if (password.match(/[!@#$%^&*()_+|\/.,~?><:{}]+/) === null) {
text += " 1 specical character";
text += " 1 special character";
meetRequirements = false;
}
@ -81,6 +81,6 @@ $(function() {
mainCheck(div, meetRequirements, true, text);
}
$("input[id$='assword'][type='password']").keyup(checkStrengthRemoveErrIfMatches);
$("input[id$='assword-clone'][type='password']").keyup(checkPasswordsMatch);
$("input[id$='password'][type='password']").keyup(checkStrengthRemoveErrIfMatches);
$("input[id$='password-clone'][type='password']").keyup(checkPasswordsMatch);
});