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
// ... 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,
]);