From d6a273146be77aefab553bcdb75e9b0772c921fa Mon Sep 17 00:00:00 2001 From: Anna Buianova Date: Fri, 8 Sep 2023 15:17:09 +0300 Subject: [PATCH] Replace SiteConfig with Settings::General in the comments (#20066) --- app/lib/middlewares/set_cookie_domain.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/middlewares/set_cookie_domain.rb b/app/lib/middlewares/set_cookie_domain.rb index c1719930e..4db572b98 100644 --- a/app/lib/middlewares/set_cookie_domain.rb +++ b/app/lib/middlewares/set_cookie_domain.rb @@ -1,6 +1,6 @@ module Middlewares - # Since we must explicitly set the cookie domain in session_store before SiteConfig is available, - # this ensures we properly set the cookie to SiteConfig.app_domain at runtime. + # Since we must explicitly set the cookie domain in session_store before Settings::General is available, + # this ensures we properly set the cookie to Settings::General.app_domain at runtime. class SetCookieDomain def initialize(app) @app = app