aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-26 10:03:40 +0200
committerChocobozzz <me@florianbigard.com>2018-04-26 10:03:40 +0200
commited56ad1193bb5bb0a81fb843a11eb90d3fed9861 (patch)
tree64842447b4721978c69e1d2b3a964951c789c408 /server/initializers
parentd62cf3234ccfca0223a9639782635f0fb6594f8c (diff)
downloadPeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.tar.gz
PeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.tar.zst
PeerTube-ed56ad1193bb5bb0a81fb843a11eb90d3fed9861.zip
Add ability to update the user display name/description
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts3
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
181const CONSTRAINTS_FIELDS = { 181const 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: {