Closed buncis closed 5 years ago
I was able to get this older commit to work. New code is good when it works but recent updates to the code has broken some functionalities: gem 'active_model_otp', :git => 'https://github.com/heapsource/active_model_otp.git', :ref => '4592b82c774892ce2111d33f0b56517f3c5f30ea' gem 'rotp', '~> 3.3.1'
Slight bump...
What am I missing here? The code looks okay to me with respect to working with rotp ~> 4.0
... Curious why the undefined method 'verify_with_drift'
is still happening?
Any updates here !
@ashiksp consider to implements the rotp to active record models by yourself
that's what I'm doing since this gem is just a wrapper for activerecord and such
@buncismamen sorry about the delay of my response, we are putting efforts on maintaining this library back. Hopefully, the latest release should fix that you've mentioned.
ruby 2.5.3 rails 5.2.2
I tried multiple gem version and rotp version the result is this
combination one
Gemfile
produce error as in #48 when calling otp_code
combination two
Gemfile
otp_code
workingauthenticate_otp
working but when callingauthenticate_otp
with :drift option it produce errorcombination 3
Gemfile
otp_code
working butauthenticate_otp
only returning nil