summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
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 /apps/provisioning_api
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 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index 40f35136b84..bc97e32faa4 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -631,6 +631,7 @@ class UsersController extends AUserData {
* @NoAdminRequired
* @NoSubAdminRequired
* @PasswordConfirmationRequired
+ * @UserRateThrottle(limit=5, period=60)
*
* @throws OCSException
*/
@@ -723,6 +724,7 @@ class UsersController extends AUserData {
* @NoAdminRequired
* @NoSubAdminRequired
* @PasswordConfirmationRequired
+ * @UserRateThrottle(limit=50, period=600)
*
* edit users
*