projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b66a2cb
)
fix match for bad chars
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Dec 2020 06:35:50 +0000
(14:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Dec 2020 06:35:50 +0000
(14:35 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
8190c7d
..
732db5b
100644
(file)
--- a/
widgets/SecurePass.js
+++ b/
widgets/SecurePass.js
@@
-179,7
+179,7
@@
Ext.extend(Ext.form.SecurePass, Ext.form.TextField, {
return true;
}
- if (
value.match(/[\x21-\x7e]*
/)) {
+ if (
!value.match(/[\x21-\x7e]+
/)) {
this.markInvalid(this.errors.PwdBadChar);
return false;
}