Skip to content

Commit

Permalink
Avoid Rails.application.secrets deprecation warning from devise
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Jan 15, 2025
1 parent 5ad7ded commit d38c12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# confirmation, reset password and unlock tokens in the database.
# Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key`
# by default. You can change it below and use your own secret key.
# config.secret_key = ''
config.secret_key = Rails.application.secret_key_base

# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
Expand Down

0 comments on commit d38c12d

Please sign in to comment.