Skip to content
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

Question: if all the backup codes are used. gem generate new set of backup codes? #136

Open
pavanjoshi914 opened this issue Nov 14, 2024 · 3 comments

Comments

@pavanjoshi914
Copy link

pavanjoshi914 commented Nov 14, 2024

  • how to know if user has used otp or a backup code. is there any differentiation?
  • basically its great to send email that backup code is being used. but it seems that backup codes can be used similar to otp
  • if all the backup codes are used. gem generate new set of backup codes?
@tahsin352
Copy link

how to regenerate new set of backup codes?

@tahsin352
Copy link

I guess calling otp_regenerate_backup_codes will regenerate new set of backup codes

@pavanjoshi914
Copy link
Author

pavanjoshi914 commented Nov 14, 2024

i see otp_regenerate_secret. but not the above in code or documentation. will try it.

can we somehow differentiate between top codes and backup codes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants