This commit is contained in:
Barış Soner Uşaklı
2020-08-26 22:04:18 -04:00
parent fb3b4a0293
commit 9f9164a9be
4 changed files with 39 additions and 1 deletions

View File

@@ -385,7 +385,7 @@
},
isUserNameValid: function (name) {
return (name && name !== '' && (/^['"\s\-+.*[\]0-9\u00BF-\u1FFF\u2C00-\uD7FF\w]+$/.test(name)));
return (name && name !== '' && (/^['" \-+.*[\]0-9\u00BF-\u1FFF\u2C00-\uD7FF\w]+$/.test(name)));
},
isPasswordValid: function (password) {