Project

General

Profile

Bug #99434 » patch-99434.diff

Franz Holzinger, 2022-12-29 13:33

View differences:

SessionService.php 2022-12-29 14:30:06.650777954 +0100
'userId' => $userSession->getUserId(),
'hmac' => $sessionHmac,
];
$_SESSION['typo3'] = $GLOBALS['TYPO3_CONF_VARS']; // neu KORR FHO +++
// Renew the session id to avoid session fixation
$this->renewSession();
}
......
// Session never existed, means it is not "expired"
return false;
}
// KORR FHO +++ Anfang
if (isset($_SESSION['typo3'])) {
$GLOBALS['TYPO3_CONF_VARS'] = $_SESSION['typo3'];
}
// KORR FHO +++ Ende
$this->initializeSession();
if (empty($_SESSION['authorized'])) {
// Session never authorized, means it is not "expired"
(1-1/2)