projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83c575
)
Roo/bootstrap/SecurePass.js
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Dec 2020 06:34:35 +0000
(14:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Dec 2020 06:34:35 +0000
(14:34 +0800)
Roo/bootstrap/SecurePass.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/SecurePass.js
b/Roo/bootstrap/SecurePass.js
index
8fe3fec
..
c770a79
100644
(file)
--- a/
Roo/bootstrap/SecurePass.js
+++ b/
Roo/bootstrap/SecurePass.js
@@
-208,8
+208,8
@@
Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
if(this.insecure){
return true;
}
-
- if (value.match(/[\x21-\x7e]*/)) {
+
+ if (
!
value.match(/[\x21-\x7e]*/)) {
this.markInvalid(this.errors.PwdBadChar);
this.errorMsg = this.errors.PwdBadChar;
return false;