Changed Roo/bootstrap/form/SecurePass.js
authorleon <leon@roojs.com>
Wed, 19 Jul 2023 04:28:31 +0000 (12:28 +0800)
committerleon <leon@roojs.com>
Wed, 19 Jul 2023 04:28:31 +0000 (12:28 +0800)
Roo/bootstrap/form/SecurePass.js

index b75bc8d..73721d0 100644 (file)
@@ -351,4 +351,15 @@ Roo.extend(Roo.bootstrap.form.SecurePass, Roo.bootstrap.form.Input, {
         return this.IsLongEnough(pwd, 6) || !this.IsLongEnough(pwd, 0);
     }
           
-});
\ No newline at end of file
+});
+
+Roo.bootstrap.form.SecurePass.error = {
+    PwdEmpty: "Please type a password, and then retype it to confirm.",
+    PwdShort: "Your password must be at least 6 characters long. Please type a different password.",
+    PwdLong: "Your password can't contain more than 16 characters. Please type a different password.",
+    PwdBadChar: "The password contains characters that aren't allowed. Please type a different password.",
+    IDInPwd: "Your password can't include the part of your ID. Please type a different password.",
+    FNInPwd: "Your password can't contain your first name. Please type a different password.",
+    LNInPwd: "Your password can't contain your last name. Please type a different password.",
+    TooWeak: "Your password is Too Weak."
+};
\ No newline at end of file