From 7476740c8a03adc20f2d5f0380b47556f61edd8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 12 Mar 2021 10:06:26 +0100 Subject: [PATCH] Revert "Clear the spiderID when logging in" As reported in PR #4071 this commit attempts to update a non-existant column. The change should have been applied to the legacy session in wcf1_session, not the actual session in wcf1_user_session. This reverts commit 0d262d1080533b952de104f45df7cf5a360d8892. see #4067 Resolves #4071 --- .../install/files/lib/system/session/SessionHandler.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 80d9322801..ee482a1579 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -1021,13 +1021,11 @@ final class SessionHandler extends SingletonFactory // ... perform the login ... $sql = "UPDATE wcf" . WCF_N . "_user_session - SET userID = ?, - spiderID = ? + SET userID = ? WHERE sessionID = ?"; $statement = WCF::getDB()->prepareStatement($sql); $statement->execute([ $user->userID, - null, $this->sessionID, ]); -- 2.20.1