0
0

Merge pull request #1451 from tamaina/forPR

ユーザー名の少なくとも3文字以上という制限を撤廃できていなかった
This commit is contained in:
syuilo 2018-04-12 02:37:40 +09:00 committed by GitHub
commit d377aafcdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;