spec/dummy/config/initializers/devise.rb in storytime-1.2.0 vs spec/dummy/config/initializers/devise.rb in storytime-2.0.0

- old
+ new

@@ -2,10 +2,10 @@ # Many of these configuration options can be set straight in your model. 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 = '6ddb7b0fdefdf873e82d00d546b308945e95fc6384d00983b9d2ef9d90b9af4bdaa8f2cf815df7c2d469021f5c7b1e9202f3cee7856e1299550296bd858f1cbd' + config.secret_key = Rails.application.secrets.secret_key_base # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class # with default "from" parameter.