diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-05-16 17:04:39 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-05-16 17:04:39 +0900 |
| commit | 34186cf45fef455e5a5361831107c5c7a11b8d80 (patch) | |
| tree | 9523d8a38497ea8d66bbf2db3ad99ff382daadbc /src/models | |
| parent | Fix bug (diff) | |
| download | sharkey-34186cf45fef455e5a5361831107c5c7a11b8d80.tar.gz sharkey-34186cf45fef455e5a5361831107c5c7a11b8d80.tar.bz2 sharkey-34186cf45fef455e5a5361831107c5c7a11b8d80.zip | |
:v:
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/user.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |