Skip to content
Snippets Groups Projects
Unverified Commit d377aafc authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1451 from tamaina/forPR

ユーザー名の少なくとも3文字以上という制限を撤廃できていなかった
parents 4166fd87 3569a782
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ export default Vue.extend({ ...@@ -77,7 +77,7 @@ export default Vue.extend({
const err = const err =
!this.username.match(/^[a-zA-Z0-9_]+$/) ? 'invalid-format' : !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' : this.username.length > 20 ? 'max-range' :
null; null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment