[TYPO3-english] Auth. services and logout
Pero Matic
pero at matic.hr
Mon Jan 24 21:27:57 CET 2011
Jigal van Hemert wrote:
> Hi,
>
> On 24-1-2011 17:16, Pero Matic wrote:
>> Sorry to reply on own post, but maybe i was not clear. I would like
>> to know if i could change logout code (extend that class)? Thx.
>
> The logout button sends you to logout.php, which logs you off and
> redirect to index.php unless a different redirect url was sent.
Yes, and then index.php automaticly logs me again.
> To change this you could XCLASS typo3/classes/class.modulemenu.php and
> change the renderLogoutButton() method to your needs.
>
> Alternatively you could make a new toolbar item and register it with
> TYPO3backend::addToolbarItem() (see typo3/backend.php for the
> requirements).
Hm is there a way to XCLASS logout.php? I need to add some code to the
logout.php (destroy some external sessions set by third party auth.
mehanism) but i don't want to hardcode it? Btw. thank you for help and
information.
Regards.
More information about the TYPO3-english
mailing list