Skip to content

Commit

Permalink
Évite l'affichage d'un message de déprécation causé par Devise
Browse files Browse the repository at this point in the history
heartcombo/devise#5644

On supprime le secret généré par Devise dans du code commenté parce que GitGuardian s'en offusque.
  • Loading branch information
goulvench committed Apr 29, 2024
1 parent 2c33fac commit 3feae37
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 = '4bbaa3207495a0fbc27ab6ba9a80c1be373845b0789115e18506d81814ba1f4aef683425e7087bb95646686a56e8ba3c5af286ba50f144705665f50cf8563fc2'
config.secret_key = Rails.application.secret_key_base

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

0 comments on commit 3feae37

Please sign in to comment.