diff --git a/src/views/users/components/NewAccountDialog.vue b/src/views/users/components/NewAccountDialog.vue index 5b32985d..b25abd5c 100644 --- a/src/views/users/components/NewAccountDialog.vue +++ b/src/views/users/components/NewAccountDialog.vue @@ -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) } }