projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f31995
)
Fix #5911 - issue with password
author
Alan Knowles
<alan@roojs.com>
Thu, 4 Jul 2019 07:23:43 +0000
(15:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 4 Jul 2019 07:23:43 +0000
(15:23 +0800)
widgets/SecurePass.js
patch
|
blob
|
history
diff --git
a/widgets/SecurePass.js
b/widgets/SecurePass.js
index
778d6ab
..
8190c7d
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 (
'[\x21-\x7e]*'.match(value
)) {
+ if (
value.match(/[\x21-\x7e]*/
)) {
this.markInvalid(this.errors.PwdBadChar);
return false;
}