From 31866fa99f6e1723101b3ac85a34669fac8ff74a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 5 Oct 2020 09:27:08 +0200 Subject: [PATCH] Fix rate limitation Signed-off-by: Joas Schilling --- lib/Controller/RegisterController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Controller/RegisterController.php b/lib/Controller/RegisterController.php index 8d9d66d..040a4d3 100644 --- a/lib/Controller/RegisterController.php +++ b/lib/Controller/RegisterController.php @@ -105,7 +105,7 @@ class RegisterController extends Controller { /** * @PublicPage - * @AnonRateThrottle(limit=5, period=1) + * @AnonRateThrottle(limit=5, period=300) * * @param string $email * @return TemplateResponse @@ -162,7 +162,7 @@ class RegisterController extends Controller { /** * @PublicPage - * @AnonRateThrottle(limit=5, period=1) + * @AnonRateThrottle(limit=5, period=300) * * @param string $secret * @param string $token @@ -221,7 +221,7 @@ class RegisterController extends Controller { /** * @PublicPage * @UseSession - * @AnonRateThrottle(limit=5, period=1) + * @AnonRateThrottle(limit=5, period=300) * * @param string $secret * @param string $token