Skip to content

Commit 2fdb509

Browse files
committed
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 a221f72 commit 2fdb509

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
@@ -554,7 +554,7 @@ public function deleteShare(string $id): DataResponse {
554554
* 200: Share created
555555
*/
556556
#[NoAdminRequired]
557-
#[UserRateLimit(limit: 10, period: 600)]
557+
#[UserRateLimit(limit: 20, period: 600)]
558558
public function createShare(
559559
?string $path = null,
560560
?int $permissions = null,

0 commit comments

Comments
 (0)