Fix rate limitation

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-10-05 09:27:08 +02:00
parent 0c4449eafd
commit 31866fa99f
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 3 additions and 3 deletions

View File

@ -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