projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076c84e
)
Roo/bootstrap/SecurePass.js
author
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 04:05:45 +0000
(12:05 +0800)
committer
KH Lau
<khlau@roojs.com>
Thu, 23 Nov 2017 04:05:45 +0000
(12:05 +0800)
Roo/bootstrap/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/SecurePass.js
b/Roo/bootstrap/SecurePass.js
index
5c3446e
..
d27994e
100644
(file)
--- a/
Roo/bootstrap/SecurePass.js
+++ b/
Roo/bootstrap/SecurePass.js
@@
-219,11
+219,13
@@
Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
} else {
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;