From 3feae3709e985d199008ab8bed572a2894317c34 Mon Sep 17 00:00:00 2001 From: Goulven Champenois Date: Fri, 26 Apr 2024 12:09:30 +0200 Subject: [PATCH] =?UTF-8?q?=C3=89vite=20l'affichage=20d'un=20message=20de?= =?UTF-8?q?=20d=C3=A9pr=C3=A9cation=20caus=C3=A9=20par=20Devise?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/heartcombo/devise/issues/5644 On supprime le secret généré par Devise dans du code commenté parce que GitGuardian s'en offusque. --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 66b485d59..30d01ac24 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -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.