diff --git a/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php index dcbed6f..22977e6 100644 --- a/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php @@ -745,7 +745,8 @@ abstract class AbstractUserAuthentication $this->loginFailure = false; // Insert session record if needed: if (!$haveSession || $anonymousSession || $tempuser['ses_id'] != $this->id && $tempuser['uid'] != $authInfo['userSession']['ses_userid']) { - $sessionData = $this->createUserSession($tempuser); + $authInfo['userSession'] = $this->fetchUserSession($skipSessionUpdate); + $sessionData = $this->createUserSession($tempuser); // Preserve session data on login if ($anonymousSession) {