1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-25 15:46:28 +09:00
This commit is contained in:
syuilo 2018-05-16 17:04:39 +09:00
parent f59209aaa3
commit 34186cf45f

View File

@ -114,7 +114,7 @@ export function validatePassword(password: string): boolean {
} }
export function isValidName(name?: string): boolean { export function isValidName(name?: string): boolean {
return name === null || (typeof name == 'string' && name.length < 30 && name.trim() != ''); return name === null || (typeof name == 'string' && name.length < 50 && name.trim() != '');
} }
export function isValidDescription(description: string): boolean { export function isValidDescription(description: string): boolean {