Explorar o código

Require logins for all uploads to projects

James Allen %!s(int64=10) %!d(string=hai) anos
pai
achega
8fb3e629e8

+ 1 - 0
services/web/app/coffee/Features/Uploads/UploadsRouter.coffee

@@ -16,6 +16,7 @@ module.exports =
 				maxRequests: 200
 				maxRequests: 200
 				timeInterval: 60 * 30
 				timeInterval: 60 * 30
 			}),
 			}),
+			AuthenticationController.requireLogin(),
 			AuthorizationMiddlewear.ensureUserCanWriteProjectContent,
 			AuthorizationMiddlewear.ensureUserCanWriteProjectContent,
 			ProjectUploadController.uploadFile
 			ProjectUploadController.uploadFile