Project

General

Profile

Bug #97996 » local_history.patch

Patch to fix the problem - Dieter Porth, 2022-07-22 09:23

View differences:

web/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php → web/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php (date 1658481372454)
$this->user['ses_data'] = serialize($this->sessionData);
$this->logger->debug('setAndSaveSessionData: ses_id = ' . sha1($this->id));
//id is NULL on CLI
if ($this->id) {
if (!empty($this->id)) {
$updatedSession = $this->getSessionBackend()->update(
$this->id,
['ses_data' => $this->user['ses_data']]
);
$this->user = array_merge($this->user ?? [], $updatedSession);
}
$this->user = array_merge($this->user ?? [], $updatedSession);
$this->user = array_merge($this->user ?? [], $updatedSession?? []);
}
/*************************
(1-1/2)