projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e27e7e
)
Roo/bootstrap/form/SecurePass.js
author
leon
<leon@roojs.com>
Wed, 19 Jul 2023 07:26:42 +0000
(15:26 +0800)
committer
leon
<leon@roojs.com>
Wed, 19 Jul 2023 07:26:42 +0000
(15:26 +0800)
Roo/bootstrap/form/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/SecurePass.js
b/Roo/bootstrap/form/SecurePass.js
index
b73c41f
..
b8a8dee
100644
(file)
--- a/
Roo/bootstrap/form/SecurePass.js
+++ b/
Roo/bootstrap/form/SecurePass.js
@@
-184,8
+184,9
@@
Roo.extend(Roo.bootstrap.form.SecurePass, Roo.bootstrap.form.Input, {
}
- if (strength <
2
) {
+ if (strength <
this.minimumStrength
) {
this.invalidText = Roo.bootstrap.form.SecurePass.errors.TooWeak;
+ return false;
}