summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-03-31 17:09:52 +0200
committerGitHub <noreply@github.com>2023-03-31 17:09:52 +0200
commitb14ae5c59cc7a91e1c47bfb4b08c3f0f3600f346 (patch)
tree1096e9976ed7896203aa4f99c0e8c014903212ba /core
parenta1aa4491acac6217061a1cecc8cb9d807292376c (diff)
parent7bc8b543be88367ad55e76695c4261a410922802 (diff)
downloadnextcloud-server-b14ae5c59cc7a91e1c47bfb4b08c3f0f3600f346.tar.gz
nextcloud-server-b14ae5c59cc7a91e1c47bfb4b08c3f0f3600f346.zip
Merge pull request #37497 from nextcloud/enh/profile-fields
Improve handling of profile fields
Diffstat (limited to 'core')
-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();