fixSessionDataLossAtAuthentication.diff

Paul Ilea, 2017-06-16 11:50

Download (958 Bytes)

View differences:

typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php
745 745
            $this->loginFailure = false;
746 746
            // Insert session record if needed:
747 747
            if (!$haveSession || $anonymousSession || $tempuser['ses_id'] != $this->id && $tempuser['uid'] != $authInfo['userSession']['ses_userid']) {
748
                $sessionData = $this->createUserSession($tempuser);
748
				$authInfo['userSession'] = $this->fetchUserSession($skipSessionUpdate);
749
            	$sessionData = $this->createUserSession($tempuser);
749 750

  
750 751
                // Preserve session data on login
751 752
                if ($anonymousSession) {