Roo/bootstrap/form/SecurePass.js
authorleon <leon@roojs.com>
Wed, 19 Jul 2023 05:09:54 +0000 (13:09 +0800)
committerleon <leon@roojs.com>
Wed, 19 Jul 2023 05:09:54 +0000 (13:09 +0800)
Roo/bootstrap/form/SecurePass.js

index 4fcbf3d..0de5ac2 100644 (file)
  
 Roo.bootstrap.form.SecurePass = function (config) {
     // these go here, so the translation tool can replace them..
-    this.errors = {
-        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."
-    },
-    this.meterLabel = "Password strength:";
-    this.pwdStrengths = ["Too Weak", "Weak", "Medium", "Strong"];
-    this.meterClass = [
-        "roo-password-meter-tooweak", 
-        "roo-password-meter-weak", 
-        "roo-password-meter-medium", 
-        "roo-password-meter-strong", 
-        "roo-password-meter-grey"
-    ];
+    // this.errors = {
+    //     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."
+    // },
+    // this.meterLabel = "Password strength:";
+    // this.pwdStrengths = ["Too Weak", "Weak", "Medium", "Strong"];
+    // this.meterClass = [
+    //     "roo-password-meter-tooweak", 
+    //     "roo-password-meter-weak", 
+    //     "roo-password-meter-medium", 
+    //     "roo-password-meter-strong", 
+    //     "roo-password-meter-grey"
+    // ];
     
-    this.errors = {};
+    // this.errors = {};
     
     Roo.bootstrap.form.SecurePass.superclass.constructor.call(this, config);
 }