juspay / hyperswitch-control-center

Open sourced control center for managing Hyperswitch - an open sourced payment switch.
https://hyperswitch.io/
Apache License 2.0
33 stars 27 forks source link

chore: TwoFa restriction after multiple failed attempts after logging in #1651

Closed Riddhiagrawal001 closed 2 weeks ago

Riddhiagrawal001 commented 3 weeks ago

Type of Change

Description

The maximum number of incorrect attempts allowed after logging in has been introduced. Previously, there was no limit, but now after exceeding the limit, there will be a cool-down period of 5 minutes for TOTP and 10 minutes for recovery codes. This will come when user tries to change its totp or regenerate-recovery code

Max attempts reached for totp :

image

Max attempts reached for recovery code :

image

If both recovery code and totp is reached :

image

Motivation and Context

How did you test it?

Where to test it?

Checklist

semanticdiff-com[bot] commented 3 weeks ago

Review changes with  SemanticDiff