From 393e5fd3d46b7ac51afa01b0d9e0a7f3f256b7cb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 3 Nov 2025 15:30:44 +0100 Subject: [PATCH] Don't want to ship with this wart cc @monorkin --- app/controllers/concerns/authentication.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/concerns/authentication.rb b/app/controllers/concerns/authentication.rb index de1ad3087..6acbd92b6 100644 --- a/app/controllers/concerns/authentication.rb +++ b/app/controllers/concerns/authentication.rb @@ -52,6 +52,7 @@ module Authentication end end + # FIXME: Remove before launch def clear_old_scoped_session_cookies if request.script_name.present? && cookies.signed[:session_token].present? && !find_session_by_cookie cookies.signed[:session_token] = { value: "invalid-session-token", path: request.script_name, expires: 1.hour.ago }