heapsource / active_model_otp

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

Rails5 user.authenticate_otp('xxxx') Error #37

Closed liangquandeng closed 5 years ago

liangquandeng commented 7 years ago

2.3.0 :004 > user.authenticate_otp('xxxxxx') NoMethodError: undefined method `scan' for nil:NilClass from (irb):4

robertomiranda commented 5 years ago

closed by #45