diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-03-30 17:11:41 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-03-30 17:11:41 -0700 |
commit | 7bc8b543be88367ad55e76695c4261a410922802 (patch) | |
tree | 8b0cb385c4401b41cb99bc701e17ca1bb07d5d02 /core | |
parent | 636c2415cc8b119c89af5b59d2a9457f87d7cf0d (diff) | |
download | nextcloud-server-7bc8b543be88367ad55e76695c4261a410922802.tar.gz nextcloud-server-7bc8b543be88367ad55e76695c4261a410922802.zip |
Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/ProfileApiController.php | 1 |
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(); |