mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #7295 from overleaf/jpa-require-login-multi-zip
[web] restrict multi-project zip download to logged-in users GitOrigin-RevId: f1e80fd62a4d60a5e64d683108ef2547b1c18a30
This commit is contained in:
parent
2117d24bda
commit
d949567391
1 changed files with 1 additions and 0 deletions
|
@ -691,6 +691,7 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
|||
)
|
||||
webRouter.get(
|
||||
'/project/download/zip',
|
||||
AuthenticationController.requireLogin(),
|
||||
RateLimiterMiddleware.rateLimit({
|
||||
endpointName: 'multiple-projects-zip-download',
|
||||
maxRequests: 10,
|
||||
|
|
Loading…
Reference in a new issue