From 34186cf45fef455e5a5361831107c5c7a11b8d80 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 16 May 2018 17:04:39 +0900 Subject: [PATCH] :v: --- src/models/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/user.ts b/src/models/user.ts index 352819f618..af03faf847 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -114,7 +114,7 @@ export function validatePassword(password: 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 {