1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Keep old channel/user name constraints

In order to avoid compatibility issues
This commit is contained in:
Chocobozzz 2018-12-13 16:25:15 +01:00
parent 16c07398f2
commit 9f7a195363
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 4 additions and 4 deletions

View file

@ -302,7 +302,7 @@ const CONFIG = {
let CONSTRAINTS_FIELDS = {
USERS: {
NAME: { min: 1, max: 50 }, // Length
NAME: { min: 1, max: 120 }, // Length
DESCRIPTION: { min: 3, max: 1000 }, // Length
USERNAME: { min: 1, max: 50 }, // Length
PASSWORD: { min: 6, max: 255 }, // Length
@ -318,7 +318,7 @@ let CONSTRAINTS_FIELDS = {
REASON: { min: 2, max: 300 } // Length
},
VIDEO_CHANNELS: {
NAME: { min: 1, max: 50 }, // Length
NAME: { min: 1, max: 120 }, // Length
DESCRIPTION: { min: 3, max: 1000 }, // Length
SUPPORT: { min: 3, max: 1000 }, // Length
URL: { min: 3, max: 2000 } // Length