Roo/bootstrap/SecurePass.js
authorKH Lau <khlau@roojs.com>
Thu, 23 Nov 2017 07:33:45 +0000 (15:33 +0800)
committerKH Lau <khlau@roojs.com>
Thu, 23 Nov 2017 07:33:45 +0000 (15:33 +0800)
Roo/bootstrap/SecurePass.js

index 2d546d9..e67b2c3 100644 (file)
@@ -234,13 +234,13 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
             strength = 0;
         }
 
-        /*
+        
         if (strength < 2) {
-            this.markInvalid(this.errors.TooWeak);
+            //this.markInvalid(this.errors.TooWeak);
             this.errorMsg = this.errors.TooWeak;
-            return false;
+            //return false;
         }
-        */
+        
         
         console.log('strength2: ' + strength);