From f48f5d48ccf1a4ad5e9c30959853bc9186680d20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 8 Apr 2015 18:34:43 +0200 Subject: [PATCH] Add missing setCookie in SessionHandler --- .../install/files/lib/system/session/SessionHandler.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 4a6ad93d0f..47b590a249 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -817,6 +817,8 @@ class SessionHandler extends SingletonFactory { if (is_array($variables) && !empty($variables['__SECURITY_TOKEN'])) { $this->register('__SECURITY_TOKEN', $variables['__SECURITY_TOKEN']); } + + HeaderUtil::setCookie('cookieHash', $this->session->sessionID); } break; } -- 2.20.1