Skip to content

Commit

Permalink
Fix Devise deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tvararu committed Dec 13, 2023
1 parent 25edee4 commit 93ccab7
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 = '6b8ae0552f3912c74e9e0e459d4907f81d7acc6326bfff6177352'
config.secret_key = Rails.application.secret_key_base

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

0 comments on commit 93ccab7

Please sign in to comment.