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:
Neil Lalonde
2017-06-21 16:18:24 -04:00
parent aaaa93c216
commit 8fd915a11a
2 changed files with 1 additions and 14 deletions

View File

@ -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"