mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "FIX: add path to cookies so sessions on the same domain but different subfolders don't log each other out"
This commit is contained in:
@@ -159,8 +159,7 @@ class Auth::DefaultCurrentUserProvider
|
||||
value: unhashed_auth_token,
|
||||
httponly: true,
|
||||
expires: SiteSetting.maximum_session_age.hours.from_now,
|
||||
secure: SiteSetting.force_https,
|
||||
path: GlobalSetting.relative_url_root.nil? ? '/' : GlobalSetting.relative_url_root
|
||||
secure: SiteSetting.force_https
|
||||
}
|
||||
|
||||
if SiteSetting.same_site_cookies != "Disabled"
|
||||
|
||||
Reference in New Issue
Block a user