projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a46adb
)
Roo/bootstrap/SecurePass.js
author
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 07:33:45 +0000
(15:33 +0800)
committer
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 07:33:45 +0000
(15:33 +0800)
Roo/bootstrap/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/SecurePass.js
b/Roo/bootstrap/SecurePass.js
index
2d546d9
..
e67b2c3
100644
(file)
--- a/
Roo/bootstrap/SecurePass.js
+++ b/
Roo/bootstrap/SecurePass.js
@@
-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);