Project

General

Profile

Actions

Bug #20058

closed

still troubles with logout-redirect

Added by Roland Obermayer almost 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2009-02-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have the felogin on every page:

50 < plugin.tx_felogin_pi1
50 {
templateFile = fileadmin/template/ext/felogin/template.html
showForgotPasswordLink = 1
storagePid = {$pid.userFolder}
redirectPageLogout = 4 # <- This is an unprotected page
redirectMode = logout
redirectFirstMethod = 1
}

But when logging out from a protected page the result is "The requested page does not exist!"

I found out that in the function processRedirect() it runs into the "} else { // not logged in" part since there is no $this->logintype set at this time.

With the attached patch the action of the logout-form is set to the unprotected page.

Typo3 4.2.6
(issue imported from #M10500)


Files

Actions #1

Updated by Brian no-lastname-given over 15 years ago

I can confirm this issue

Patch solves the issue

Actions #2

Updated by Jigal van Hemert almost 13 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.5

The patch would also cause a redirect on a page with felogin if no login/logout action was performed.

The felogin plugin must be accessible after login/logout to perform a redirect. See manual for explanation about the login/logout procedure.

Easiest solution is to create a link to an accessible page with extra parameter &logintype=logout

Can you provide a setup which cannot be solved with a proper configuration?

Actions #3

Updated by Jigal van Hemert over 11 years ago

  • Status changed from Needs Feedback to Closed

Closed because no feedback was received for over 90 days.

Actions

Also available in: Atom PDF