ユーザー名の少なくとも3文字以上という制限を撤廃

This commit is contained in:
syuilo
2018-04-09 17:09:57 +09:00
parent d90ad34924
commit b9a676a1c1
5 changed files with 6 additions and 6 deletions

View File

@ -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);
}
/**