Issue Bug Closed

#43032redirectPageLogout conflicts with $TYPO3_CONF_VARS['FE']['pageNotFound_handling']

Marco Bresch 11/16/12, 17:29 updated 01/16/15, 19:23

Description

Logout-Button is located on a page not accessible for logged out users.
RedirectPageLogout of felogin is set to a page with no access restrictions.
This configuration worked fine, I will be redirected to the specified page after logout.
After setting $TYPO3_CONF_VARS[‘FE’][‘pageNotFound_handling’] to another accessible page I will always be redirected to this page and not to the one specified in redirectPageLogout.
It seems the problem arises in class.t3lib_userauth.php. There the function checkAuthentication is called and performs the log off. It seems that after that the protected page would be simply recognized as „not accessible or missing“ and therefor the pageNotFound_handling is called instead of checking for any redirectPageLogout settings.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.