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 followed the exampleapp which says: User.create! email: email, password: '12345678', password_confirmation: '12345678', otp_secret_key: default_otp_secret
[36] pry(main)> User.create! email: "[email protected]", password: '12345678', otp_secret_key: "aabcdefabcdefabc"
ArgumentError: must specify a key
from /home/tim/.rvm/gems/ruby-2.6.0/gems/encryptor-3.0.0/lib/encryptor.rb:56:in `crypt'
i tried manually with an existing user u.otp_secret_key="aabcdefabcdefabc" and get the same error.
The text was updated successfully, but these errors were encountered:
I followed step by step of the instructions. setup model, migrations and initializer. i've also setup an encryption key
however, now things are unclear how to continue.
i followed the exampleapp which says:
User.create! email: email, password: '12345678', password_confirmation: '12345678', otp_secret_key: default_otp_secret
i tried manually with an existing user
u.otp_secret_key="aabcdefabcdefabc"
and get the same error.The text was updated successfully, but these errors were encountered: