[API] Fix bug and change limit 50 to 30

This commit is contained in:
syuilo
2017-03-01 20:38:27 +09:00
parent 4f5928c575
commit 93c3faf141
2 changed files with 5 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export function validatePassword(password: string): boolean {
}
export function isValidName(name: string): boolean {
return typeof name == 'string' && name.length > 50 && name.trim() != '';
return typeof name == 'string' && name.length < 30 && name.trim() != '';
}
export function isValidBirthday(birthday: string): boolean {