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
|
@ -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…
Reference in New Issue