Browse Source

Update two_factor_authenticatable.rb

master
Tigran Apoyan 8 years ago committed by GitHub
parent
commit
a32f71a534
  1. 3
      lib/two_factor_authentication/models/two_factor_authenticatable.rb

3
lib/two_factor_authentication/models/two_factor_authenticatable.rb

@ -153,7 +153,8 @@ module Devise
value: value, value: value,
key: Devise.otp_secret_encryption_key, key: Devise.otp_secret_encryption_key,
iv: iv_for_attribute, iv: iv_for_attribute,
salt: salt_for_attribute salt: salt_for_attribute,
algorithm: 'aes-256-cbc'
} }
end end

Loading…
Cancel
Save