Bug #81592 ยป fixSessionDataLossAtAuthentication.diff
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php | ||
---|---|---|
$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) {
|