From 1d8aac2e8beacd9bb5cfaa197ddd90387b15a36b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 4 Jul 2019 15:23:12 +0800 Subject: [PATCH] Changed widgets/SecurePass.js --- widgets/SecurePass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index 778d6ab6..8190c7d8 100644 --- 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; } -- 2.39.2