Project

General

Profile

Bug #81592 ยป fixSessionDataLossAtAuthentication.diff

Paul Ilea, 2017-06-16 11:50

View differences:

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) {
    (1-1/1)