-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
I followed step by step of the instructions. setup model, migrations and initializer. i've also setup an encryption key
[23] pry(main)> ENV['OTP_SECRET_ENCRYPTION_KEY']
=> "a3ebaae85c248da81427623959753e46b9fcb8a0d630a1e41c1dffe03596bf2ffd9701bf69fa0dd598f3c45103bdba7e956d0d3560916859884de92d1f51fe16"
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
[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.
Metadata
Metadata
Assignees
Labels
No labels