Add rate limit to TOTP solve challenge controller

Fixes https://github.com/nextcloud/server/issues/2626

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-04-22 07:59:40 +02:00
parent 363d1c69dd
commit c1b8f152d8
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ class TwoFactorChallengeController extends Controller {
* @NoCSRFRequired
* @UseSession
*
* @UserRateThrottle(limit=5, period=100)
*
* @param string $challengeProviderId
* @param string $challenge
* @param string $redirect_url