Issue Bug Closed

#59493felogin - redirectPageLoginError

Sebastian Krah 06/11/14, 15:20 updated 10/02/18, 11:53

Description

I’ve found an error in felogin.

I want to redirect after an login error, it appears a cookie warning.

I solved the problem by editing the FrontendLoginController.php in line 183

old:
if (!$GLOBALS[‘TSFE’]->fe_user->isCookieSet()) {

new:
if (!$GLOBALS[‘TSFE’]->fe_user->isCookieSet() && $this->userIsLoggedIn === 1) {

Reviews 2