heapsource / active_model_otp

Adds methods to set and authenticate against one time passwords (Two-Factor Authentication). Inspired in AM::SecurePassword
MIT License
769 stars 81 forks source link

Enable/disable generate opt_secret_key when is an user is created #71

Closed nmenag closed 3 years ago

nmenag commented 4 years ago

Have an option if wish generate the opt_secret_key at the moment of create an user or can is in blank.

HichamLaaboudi commented 3 years ago

This would be nice

pedrofurtado commented 3 years ago

This feature currently is not a high priority of implementation, but I will be glad to review a PR with some implementation of this, if you can spend some time on it 🤝 🍻

For a while, I will close the issue, but feel free to reopen when the PR was provided 🥇