ユーザー名の少なくとも3文字以上という制限を撤廃
This commit is contained in:
parent
d90ad34924
commit
b9a676a1c1
5 changed files with 6 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ export type IApp = {
|
|||
};
|
||||
|
||||
export function isValidNameId(nameId: string): boolean {
|
||||
return typeof nameId == 'string' && /^[a-zA-Z0-9_]{3,30}$/.test(nameId);
|
||||
return typeof nameId == 'string' && /^[a-zA-Z0-9_]{1,30}$/.test(nameId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue