From 8fb3e629e86e306a531d494f463f0f6d6bd861bd Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 21 Mar 2016 13:23:14 +0000 Subject: [PATCH] Require logins for all uploads to projects --- services/web/app/coffee/Features/Uploads/UploadsRouter.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee b/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee index fdff8d0ea3..d87d271a7f 100644 --- a/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee +++ b/services/web/app/coffee/Features/Uploads/UploadsRouter.coffee @@ -16,6 +16,7 @@ module.exports = maxRequests: 200 timeInterval: 60 * 30 }), + AuthenticationController.requireLogin(), AuthorizationMiddlewear.ensureUserCanWriteProjectContent, ProjectUploadController.uploadFile