mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 20:06:44 -06:00
ユーザー名の少なくとも3文字以上という制限を撤廃できていなかった
This commit is contained in:
parent
185805363d
commit
3569a7820e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue