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

Method authenticate_otp must return falsey if code is nil or empty string #96

Closed pedrofurtado closed 2 years ago

pedrofurtado commented 2 years ago

Closes #95