diff options
Diffstat (limited to 'server/initializers')
-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: { |