You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user makes too many login attempts, goes back to the login page and logs in again, send_two_factor_authentication_code is still called, so the user gets a code although he can't enter it.
This can be easily avoided in send_two_factor_authentication_code but I think it shouldn't be called at all.
I created a test case and offer a solution here.
I sadly can't make a PR as I already forked a fork of this repository (...), and that means I can't fork the root repository.
The text was updated successfully, but these errors were encountered:
Hello and thank you for this gem!
If a user makes too many login attempts, goes back to the login page and logs in again,
send_two_factor_authentication_code
is still called, so the user gets a code although he can't enter it.This can be easily avoided in
send_two_factor_authentication_code
but I think it shouldn't be called at all.I created a test case and offer a solution here.
I sadly can't make a PR as I already forked a fork of this repository (...), and that means I can't fork the root repository.
The text was updated successfully, but these errors were encountered: