mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
change devise config to use secret_key_Base instead of secret_token as pepper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user