You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a User table that has preexisting data, and I start using otp-jwt recently.
It is not working at the beginning because otp_secret column is always empty for preexisting User record
The active record does give the User record a default otp_secret
I have a User table that has preexisting data, and I start using otp-jwt recently.
It is not working at the beginning because
otp_secret
column is always empty for preexisting User recordThe active record does give the User record a default
otp_secret
otp-jwt/lib/otp/active_record.rb
Lines 79 to 81 in 37ca55c
My workaround is to go through each user record and save the default
otp_secret
Not sure whether we can make it better by updating the documentation, or always save the default secret if there are
otp_secret
column is emptyThe text was updated successfully, but these errors were encountered: