Project

General

Profile

Actions

Bug #43032

closed

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

Added by Marco Bresch over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2012-11-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF