[ENV] Devise config

This commit is contained in:
Mathieu Magnin 2018-03-12 15:11:22 +01:00 committed by Paul Chavard
parent 02888c9d50
commit aa0a4cf87f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmation, reset password and unlock tokens in the database.
# config.secret_key = '023b8d51611750f31982654ec5c14e275784af6a7a15aadbc599a973265e01e4218e209489b65e63d008b23754e4db268e376f652720fa9a69846853a365b811'
config.secret_key = Rails.application.secrets.secret_key_base
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,