mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:12:27 +00:00
Require logins for all uploads to projects
This commit is contained in:
parent
0ba70e7ccc
commit
8fb3e629e8
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ module.exports =
|
|||
maxRequests: 200
|
||||
timeInterval: 60 * 30
|
||||
}),
|
||||
AuthenticationController.requireLogin(),
|
||||
AuthorizationMiddlewear.ensureUserCanWriteProjectContent,
|
||||
ProjectUploadController.uploadFile
|
||||
|
||||
|
|
Loading…
Reference in a new issue