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
Currently its working for me I added create_direct_otp method to my user model and made this true config.delete_cookie_on_logout = true in devise.rb file.
But if you just make config.delete_cookie_on_logout = false this true and don't add create method to user model it does not work.
I am using rails 5.2 and two_factor_authentication 2.1.1. I am following exact steps mentioned in https://github.com/Houdini/two_factor_authentication/blob/master/README.md and https://www.rubydoc.info/gems/two_factor_authentication/1.1.5. When user signs in it get direct access to site without asking for code. It worked once and all of a sudden stopped working.
The text was updated successfully, but these errors were encountered: