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
191 191
            }
192 192
        }
193 193
        // Process the redirect
194
        if (($this->logintype === LoginType::LOGIN || $this->logintype === LoginType::LOGOUT) && $this->redirectUrl && !$this->noRedirect) {
194
        $isSuccessfulLogin = ($this->logintype === LoginType::LOGIN) && $this->userIsLoggedIn;
195
        if (($isSuccessfulLogin || $this->logintype === LoginType::LOGOUT) && $this->redirectUrl && !$this->noRedirect) {
195 196
            if (!$this->frontendController->fe_user->isCookieSet() && $this->userIsLoggedIn) {
196 197
                $content .= $this->cObj->stdWrap($this->pi_getLL('cookie_warning'), $this->conf['cookieWarning_stdWrap.']);
197 198
            } else {
    (1-1/1)