forked from AkkomaGang/admin-fe
Allow using underscores and hyphens in new account's usernames
This commit is contained in:
parent
dcfee0f5de
commit
a90dc10818
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export default {
|
|||
return re.test(email)
|
||||
},
|
||||
validNickname(nickname) {
|
||||
var re = /^[a-zA-Z\d]+$/
|
||||
var re = /^[a-zA-Z\d_-]+$/
|
||||
return re.test(nickname)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue