aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 6b798875c..d4496bc34 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -300,9 +300,9 @@ const CONFIG = {
300 300
301const CONSTRAINTS_FIELDS = { 301const CONSTRAINTS_FIELDS = {
302 USERS: { 302 USERS: {
303 NAME: { min: 3, max: 120 }, // Length 303 NAME: { min: 1, max: 50 }, // Length
304 DESCRIPTION: { min: 3, max: 1000 }, // Length 304 DESCRIPTION: { min: 3, max: 1000 }, // Length
305 USERNAME: { min: 3, max: 20 }, // Length 305 USERNAME: { min: 1, max: 50 }, // Length
306 PASSWORD: { min: 6, max: 255 }, // Length 306 PASSWORD: { min: 6, max: 255 }, // Length
307 VIDEO_QUOTA: { min: -1 }, 307 VIDEO_QUOTA: { min: -1 },
308 VIDEO_QUOTA_DAILY: { min: -1 }, 308 VIDEO_QUOTA_DAILY: { min: -1 },
@@ -316,7 +316,7 @@ const CONSTRAINTS_FIELDS = {
316 REASON: { min: 2, max: 300 } // Length 316 REASON: { min: 2, max: 300 } // Length
317 }, 317 },
318 VIDEO_CHANNELS: { 318 VIDEO_CHANNELS: {
319 NAME: { min: 3, max: 120 }, // Length 319 NAME: { min: 1, max: 50 }, // Length
320 DESCRIPTION: { min: 3, max: 1000 }, // Length 320 DESCRIPTION: { min: 3, max: 1000 }, // Length
321 SUPPORT: { min: 3, max: 1000 }, // Length 321 SUPPORT: { min: 3, max: 1000 }, // Length
322 URL: { min: 3, max: 2000 } // Length 322 URL: { min: 3, max: 2000 } // Length