Skip to content

Commit 3f528a2

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
fix(files_sharing): adjust rate limit share creation to 20 over 10 minutes
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent 496521e commit 3f528a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public function deleteShare(string $id): DataResponse {
558558
* 200: Share created
559559
*/
560560
#[NoAdminRequired]
561-
#[UserRateLimit(limit: 10, period: 600)]
561+
#[UserRateLimit(limit: 20, period: 600)]
562562
public function createShare(
563563
?string $path = null,
564564
?int $permissions = null,

0 commit comments

Comments
 (0)