-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
last_otp_at misbehaving #109
Comments
Hi @danielb2, can you try to check I see that in the code we are using https://github.com/heapsource/active_model_otp/blob/main/lib/active_model/one_time_password.rb#L157 |
Hi thank you for your response. it's empty: |
any more ideas? |
Hi @danielb2 Have you tried upgrading gem to 2.3.2. I did the same and last otp at column updated. But issue I am facing is with interval. I have set interval to 10 minutes. And once authenticated, it returns false later but it doesn't generate new otp for 10 minutes. So I get same otp again for 10 minutes. I tried it with default interval but same issue occurs. Though 30 seconds is not a very long interval so goes unnoticed. But for longer interval, this functionality is useless. |
I'm having an issue with last_otp_at not being set
in the user model and migration:
any ideas why this would happen?
The text was updated successfully, but these errors were encountered: