From: Alexander Ebert Date: Mon, 2 Mar 2015 18:39:09 +0000 (+0100) Subject: Fixed virtual session validation X-Git-Tag: 2.1.1~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06fa4443f236a0d3852147555d63e69ddf0abac6;p=GitHub%2FWoltLab%2FWCF.git Fixed virtual session validation --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 1b3229c1e8..830231c740 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -382,7 +382,7 @@ class SessionHandler extends SingletonFactory { } $this->user = new User($this->session->userID); - $this->loadVirtualSession(); + $this->virtualSession = SessionVirtual::getExistingSession($sessionID); if (!$this->validate()) { $this->session = null; @@ -391,6 +391,8 @@ class SessionHandler extends SingletonFactory { return; } + + $this->loadVirtualSession(); } /**