Skip to content

Commit

Permalink
Fix Rails secrets deprecation warning (Devise)
Browse files Browse the repository at this point in the history
This is due to heartcombo/devise#5644.
  • Loading branch information
Splines committed Apr 24, 2024
1 parent fe65192 commit 4b8ad59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# confirmation, reset password and unlock tokens in the database.
# 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 = 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 4b8ad59

Please sign in to comment.