Project

General

Profile

Bug #90986 ยป fix-felogin-redirect.patch

Volker Diels-Grabsch, 2020-04-09 13:44

View differences:

typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php 2020-04-09 11:43:50.135874488 +0000
}
}
// Process the redirect
if (($this->logintype === LoginType::LOGIN || $this->logintype === LoginType::LOGOUT) && $this->redirectUrl && !$this->noRedirect) {
$isSuccessfulLogin = ($this->logintype === LoginType::LOGIN) && $this->userIsLoggedIn;
if (($isSuccessfulLogin || $this->logintype === LoginType::LOGOUT) && $this->redirectUrl && !$this->noRedirect) {
if (!$this->frontendController->fe_user->isCookieSet() && $this->userIsLoggedIn) {
$content .= $this->cObj->stdWrap($this->pi_getLL('cookie_warning'), $this->conf['cookieWarning_stdWrap.']);
} else {
    (1-1/1)