Explorar el Código

Require logins for all uploads to projects

James Allen hace 10 años
padre
commit
8fb3e629e8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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