diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 6ce314982..fe3ab2cf6 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -16,6 +16,7 @@ # Devise will use the `secret_key_base` as its `secret_key` # by default. You can change it below and use your own secret key. # config.secret_key = SecureRandom.hex(64) + config.secret_key = Rails.application.secret_key_base # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer,