vipulvkp

Joined

510 Experience
5 Lessons Completed
0 Questions Solved

Activity

Hi @chris. Thanks for the awsm work.
However I realised that there is a bug with devise when used with lockable and two_factor_authenticatable/two_factor_backupable models.
Whenever, I validate the username and password and render the otp prompt screen, devise updates the failed_attempts twice.

This is already a burning issue with a lot of open threads. Please let me know if there is any solution or workaround.
Related threads
https://github.com/tinfoil/devise-two-factor/issues/127
https://stackoverflow.com/questions/70847131/fix-for-devise-two-factor-and-lockable-bug