Merge pull request #246 from nextcloud/bugfix/noid/fix-rate-limitation

Fix rate limitation
This commit is contained in:
Joas Schilling 2020-10-05 11:20:29 +02:00 committed by GitHub
commit eceffecc33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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