Add rate limit to TOTP solve challenge controller

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

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/4434/head
Lukas Reschke 8 years ago
parent 363d1c69dd
commit c1b8f152d8
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
  1. 2
      core/Controller/TwoFactorChallengeController.php

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

Loading…
Cancel
Save