config/initializers/devise.rb in solidus_auth_devise-1.3.0 vs config/initializers/devise.rb in solidus_auth_devise-1.4.0
- old
+ new
@@ -36,9 +36,10 @@
# ==> Configuration for :database_authenticatable
# For bcrypt, this is the cost for hashing the password and defaults to 10. If
# using other encryptors, it sets how many times you want the password re-encrypted.
config.stretches = 20
+ config.encryptor = 'authlogic_sha512'
# Setup a pepper to generate the encrypted password.
config.pepper = Rails.configuration.secret_token
# ==> Configuration for :confirmable