diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-26 10:03:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-26 10:03:40 +0200 |
commit | ed56ad1193bb5bb0a81fb843a11eb90d3fed9861 (patch) | |
tree | 64842447b4721978c69e1d2b3a964951c789c408 /server/initializers/constants.ts | |
parent | d62cf3234ccfca0223a9639782635f0fb6594f8c (diff) | |
download | PeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.tar.gz PeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.tar.zst PeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.zip |
Add ability to update the user display name/description
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 9c9c3afc0..365b8617d 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -180,9 +180,10 @@ const CONFIG = { | |||
180 | 180 | ||
181 | const CONSTRAINTS_FIELDS = { | 181 | const CONSTRAINTS_FIELDS = { |
182 | USERS: { | 182 | USERS: { |
183 | NAME: { min: 3, max: 120 }, // Length | ||
184 | DESCRIPTION: { min: 3, max: 250 }, // Length | ||
183 | USERNAME: { min: 3, max: 20 }, // Length | 185 | USERNAME: { min: 3, max: 20 }, // Length |
184 | PASSWORD: { min: 6, max: 255 }, // Length | 186 | PASSWORD: { min: 6, max: 255 }, // Length |
185 | DESCRIPTION: { min: 3, max: 250 }, // Length | ||
186 | VIDEO_QUOTA: { min: -1 } | 187 | VIDEO_QUOTA: { min: -1 } |
187 | }, | 188 | }, |
188 | VIDEO_ABUSES: { | 189 | VIDEO_ABUSES: { |