diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-08 17:36:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 17:44:22 +0200 |
commit | eacb25c4366bcc8fba20f98f93f004fabc6d5578 (patch) | |
tree | d006c6ef3358ec8c3e3deda643dc9b70068f2515 /server/initializers/constants.ts | |
parent | a6ce68673ace5b94a81eda3ba198f0a4170eb05e (diff) | |
download | PeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.tar.gz PeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.tar.zst PeerTube-eacb25c4366bcc8fba20f98f93f004fabc6d5578.zip |
Add reason when banning a user
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 0a651beed..ea561b686 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -254,7 +254,8 @@ const CONSTRAINTS_FIELDS = { | |||
254 | DESCRIPTION: { min: 3, max: 250 }, // Length | 254 | DESCRIPTION: { min: 3, max: 250 }, // Length |
255 | USERNAME: { min: 3, max: 20 }, // Length | 255 | USERNAME: { min: 3, max: 20 }, // Length |
256 | PASSWORD: { min: 6, max: 255 }, // Length | 256 | PASSWORD: { min: 6, max: 255 }, // Length |
257 | VIDEO_QUOTA: { min: -1 } | 257 | VIDEO_QUOTA: { min: -1 }, |
258 | BLOCKED_REASON: { min: 3, max: 250 } // Length | ||
258 | }, | 259 | }, |
259 | VIDEO_ABUSES: { | 260 | VIDEO_ABUSES: { |
260 | REASON: { min: 2, max: 300 } // Length | 261 | REASON: { min: 2, max: 300 } // Length |