فهرست منبع

Require logins for all uploads to projects

James Allen 10 سال پیش
والد
کامیت
8fb3e629e8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      services/web/app/coffee/Features/Uploads/UploadsRouter.coffee

+ 1 - 0
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