widgets/SecurePass.js
authorEdward <edward@roojs.com>
Mon, 22 Apr 2013 08:55:04 +0000 (16:55 +0800)
committerEdward <edward@roojs.com>
Mon, 22 Apr 2013 08:55:04 +0000 (16:55 +0800)
widgets/SecurePass.js

index 101200e..b64db7c 100644 (file)
@@ -2,22 +2,6 @@
 //<script type="text/Javascript">
 
 
-Ext.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"];
-    Ext.form.SecurePass.superclass.constructor.call(this, config);
-}
 
 Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {