modify error messages

This commit is contained in:
DOHA 2015-04-02 19:31:27 +02:00
parent 1e416706ee
commit c0745615a9
1 changed files with 10 additions and 1 deletions

View File

@ -78,7 +78,16 @@ $(document).ready(function () {
common: {minChar:8},
ui: {
showVerdictsInsideProgressBar:true,
showErrors:true
showErrors:true,
errorMessages:{
wordLength: "Your password is too short",
wordNotEmail: "Do not use your email as your password",
wordSequences: "Your password contains sequences",
wordLowercase: "Use lower case characters",
wordUppercase: "Use upper case characters",
wordOneNumber: "Use numbers",
wordOneSpecialChar: "Use special characters"
}
}
};
$('#password').pwstrength(options);