summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/UsersController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/lib/Controller/UsersController.php')
-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 1613561fbe1..6a7bf668129 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -634,6 +634,7 @@ class UsersController extends AUserData {
* @NoAdminRequired
* @NoSubAdminRequired
* @PasswordConfirmationRequired
+ * @UserRateThrottle(limit=5, period=60)
*
* @throws OCSException
*/
@@ -726,6 +727,7 @@ class UsersController extends AUserData {
* @NoAdminRequired
* @NoSubAdminRequired
* @PasswordConfirmationRequired
+ * @UserRateThrottle(limit=50, period=600)
*
* edit users
*