mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Merge pull request #1451 from tamaina/forPR
ユーザー名の少なくとも3文字以上という制限を撤廃できていなかった
This commit is contained in:
commit
03ac10cdb0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user