[TYPO3-core] RFC: #15421: [felogin] Possibility to show logout form direct after login

Steffen Kamper info at sk-typo3.de
Wed Sep 1 12:34:01 CEST 2010


Hi,

Steffen Kamper schrieb:
> Hi Ernesto,
>> 2) Set $this->redirectUrl = '' before processing the showLogout(),
>> because else you might end up with the wrong URL in the logout form's
>> "action" (i.e. if you allow getpost redirect on login, but want to
>> redirect to a specific page on logout, because of access restrictions:
>> the getpost redirect will be the action of the logout-action, if this is
>> not reset.
>>
> 

this is not perfect and cause a problem.

On a site we have protected pages visible, if you click on such link you 
will be redirected to the login page. With stting redirectUrl to empty 
you won't be redirected back to the protected page. If i leave 
$this->redirectUrl = '' out it works.
On all pages is in the topbar a small login, therefore we need the "show 
logout" direct after login.

I have to examine this closer, i think in this case we have to differ 
the redirect types.

vg Steffen


More information about the TYPO3-team-core mailing list