diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 11:23:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-09 11:41:18 +0200 |
commit | 360329cc029c062bfb145c90f7bf1c007c39af81 (patch) | |
tree | a40fb8e31c0d40d65a83e9f0fbc12793230b5c0e /client/src/app/shared/forms/form-validators/user.ts | |
parent | bf696869538eaef27e5a8445035967c01f214501 (diff) | |
download | PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.gz PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.tar.zst PeerTube-360329cc029c062bfb145c90f7bf1c007c39af81.zip |
Account/channel descriptions are not required anymore
Diffstat (limited to 'client/src/app/shared/forms/form-validators/user.ts')
-rw-r--r-- | client/src/app/shared/forms/form-validators/user.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/form-validators/user.ts b/client/src/app/shared/forms/form-validators/user.ts index c6b65e0df..0973f1b00 100644 --- a/client/src/app/shared/forms/form-validators/user.ts +++ b/client/src/app/shared/forms/form-validators/user.ts | |||
@@ -60,12 +60,10 @@ export const USER_DISPLAY_NAME = { | |||
60 | } | 60 | } |
61 | export const USER_DESCRIPTION = { | 61 | export const USER_DESCRIPTION = { |
62 | VALIDATORS: [ | 62 | VALIDATORS: [ |
63 | Validators.required, | ||
64 | Validators.minLength(3), | 63 | Validators.minLength(3), |
65 | Validators.maxLength(250) | 64 | Validators.maxLength(250) |
66 | ], | 65 | ], |
67 | MESSAGES: { | 66 | MESSAGES: { |
68 | 'required': 'Description is required.', | ||
69 | 'minlength': 'Description must be at least 3 characters long.', | 67 | 'minlength': 'Description must be at least 3 characters long.', |
70 | 'maxlength': 'Description cannot be more than 250 characters long.' | 68 | 'maxlength': 'Description cannot be more than 250 characters long.' |
71 | } | 69 | } |