allowing + in usernames @barisusakli

v1.18.x
Julian Lam 8 years ago
parent bf276d5147
commit 091ac95649

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

Loading…
Cancel
Save