summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-03-30 17:11:41 -0700
committerChristopher Ng <chrng8@gmail.com>2023-03-30 17:11:41 -0700
commit7bc8b543be88367ad55e76695c4261a410922802 (patch)
tree8b0cb385c4401b41cb99bc701e17ca1bb07d5d02 /apps/provisioning_api
parent636c2415cc8b119c89af5b59d2a9457f87d7cf0d (diff)
downloadnextcloud-server-7bc8b543be88367ad55e76695c4261a410922802.tar.gz
nextcloud-server-7bc8b543be88367ad55e76695c4261a410922802.zip
Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
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
*