]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/users.ts
Dissociate video file names and video uuid
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / users.ts
index 6b6e6c2df5696e07283747a6aaa3290117db09d0..9cff51d45eec67c58a779f0cd9dbf863cd72cc0a 100644 (file)
@@ -201,6 +201,7 @@ const usersUpdateValidator = [
   body('emailVerified').optional().isBoolean().withMessage('Should have a valid email verified attribute'),
   body('videoQuota').optional().custom(isUserVideoQuotaValid).withMessage('Should have a valid user quota'),
   body('videoQuotaDaily').optional().custom(isUserVideoQuotaDailyValid).withMessage('Should have a valid daily user quota'),
+  body('pluginAuth').optional(),
   body('role')
     .optional()
     .customSanitizer(toIntOrNull)