Skip to content

Commit

Permalink
Remove deprecation warning
Browse files Browse the repository at this point in the history
It's coming from Devise and can be removed by specifying the
secret_key_base explicitly:
heartcombo/devise#5644
  • Loading branch information
tvararu committed Nov 24, 2023
1 parent 6aeaf07 commit 99300bd
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 @@ -14,7 +14,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 = ''
config.secret_key = Rails.application.secret_key_base

# ==> Controller configuration
# Configure the parent class to the devise controllers.
Expand Down

0 comments on commit 99300bd

Please sign in to comment.