change devise config to use secret_key_Base instead of secret_token as pepper

This commit is contained in:
Luis Ramos
2021-05-05 00:23:13 +01:00
parent adf35f8e18
commit 2c43522bf9

View File

@@ -40,7 +40,7 @@ Devise.setup do |config|
config.stretches = Rails.env.test? ? 1 : 20
# Setup a pepper to generate the encrypted password.
config.pepper = Rails.configuration.secret_token
config.pepper = Rails.configuration.secret_key_base
# ==> Configuration for :confirmable
# The time you want to give your user to confirm his account. During this time