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:
parent
363d1c69dd
commit
c1b8f152d8
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ class TwoFactorChallengeController extends Controller {
|
||||||
* @NoCSRFRequired
|
* @NoCSRFRequired
|
||||||
* @UseSession
|
* @UseSession
|
||||||
*
|
*
|
||||||
|
* @UserRateThrottle(limit=5, period=100)
|
||||||
|
*
|
||||||
* @param string $challengeProviderId
|
* @param string $challengeProviderId
|
||||||
* @param string $challenge
|
* @param string $challenge
|
||||||
* @param string $redirect_url
|
* @param string $redirect_url
|
||||||
|
|
Loading…
Reference in a new issue