summaryrefslogtreecommitdiffstats
path: root/core/Controller/ProfileApiController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/ProfileApiController.php')
-rw-r--r--core/Controller/ProfileApiController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/ProfileApiController.php b/core/Controller/ProfileApiController.php
index a25ebaf846d..6d1b856929a 100644
--- a/core/Controller/ProfileApiController.php
+++ b/core/Controller/ProfileApiController.php
@@ -61,6 +61,7 @@ class ProfileApiController extends OCSController {
* @NoAdminRequired
* @NoSubAdminRequired
* @PasswordConfirmationRequired
+ * @UserRateThrottle(limit=40, period=600)
*/
public function setVisibility(string $targetUserId, string $paramId, string $visibility): DataResponse {
$requestingUser = $this->userSession->getUser();