aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2025-04-15 10:32:47 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-04-15 08:58:17 +0000
commit3f528a27262bfbd9ef5d09c5cdaa2c02e61c9632 (patch)
treef99e94fbe8ff311917150af4232041a58449f1e9
parent496521e99366bb9d91cd9aa2928eac9a7ab1ea21 (diff)
downloadnextcloud-server-backport/50905/stable31.tar.gz
nextcloud-server-backport/50905/stable31.zip
fix(files_sharing): adjust rate limit share creation to 20 over 10 minutesbackport/50905/stable31
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index d5145343a30..f9e3b5a7e5d 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -558,7 +558,7 @@ class ShareAPIController extends OCSController {
* 200: Share created
*/
#[NoAdminRequired]
- #[UserRateLimit(limit: 10, period: 600)]
+ #[UserRateLimit(limit: 20, period: 600)]
public function createShare(
?string $path = null,
?int $permissions = null,