projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e99ce
)
Roo/bootstrap/SecurePass.js
author
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 04:18:36 +0000
(12:18 +0800)
committer
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 04:18:36 +0000
(12:18 +0800)
Roo/bootstrap/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/SecurePass.js
b/Roo/bootstrap/SecurePass.js
index
f37f320
..
d01c7eb
100644
(file)
--- a/
Roo/bootstrap/SecurePass.js
+++ b/
Roo/bootstrap/SecurePass.js
@@
-221,11
+221,10
@@
Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
strength = 0;
}
- // allow weak password
- //if (strength < 2) {
- // this.markInvalid(this.errors.TooWeak);
- // return false;
- //}
+ if (strength < 2) {
+ this.markInvalid(this.errors.TooWeak);
+ return false;
+ }
console.log('strength2: ' + strength);
var pm = this.trigger.child('div/div/div').dom;