summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2018-04-11 21:05:47 +0900
committerGitHub <noreply@github.com>2018-04-11 21:05:47 +0900
commit3569a7820ef233adc2ef8cd9914724e8cd1f19f6 (patch)
tree5081e78cec2c71b88d43ddc92756f050e8e631f2 /src
parentMerge pull request #2 from tamaina/master (diff)
downloadsharkey-3569a7820ef233adc2ef8cd9914724e8cd1f19f6.tar.gz
sharkey-3569a7820ef233adc2ef8cd9914724e8cd1f19f6.tar.bz2
sharkey-3569a7820ef233adc2ef8cd9914724e8cd1f19f6.zip
ユーザー名の少なくとも3文字以上という制限を撤廃できていなかった
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/signup.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue
index 30fe7b7ad0..40262b54d3 100644
--- a/src/client/app/common/views/components/signup.vue
+++ b/src/client/app/common/views/components/signup.vue
@@ -77,7 +77,7 @@ export default Vue.extend({
const err =
!this.username.match(/^[a-zA-Z0-9_]+$/) ? 'invalid-format' :
- this.username.length < 3 ? 'min-range' :
+ this.username.length < 1 ? 'min-range' :
this.username.length > 20 ? 'max-range' :
null;