[TYPO3-dev] Hook needed in class.t3lib_userauth.php

dl4gbe at gmail.com dl4gbe at gmail.com
Tue Jul 31 03:03:46 CEST 2007


Hallo Steffen

I tried postUserLookUp. The problem is it fires all too offen... I need a 
hook which ist only called after a sucessful login using a login form.

The hook logoff_post_processing exists. So it would make sense to have one 
like I proposed, logon_post_processing. And yes the hook 
logoff_post_processing serves me well... It should only fire when a user 
logsoff, not in case a session expires. It's quit possible that the 
application which is called by sso got a different session expiry time. I 
have some plugins which show xt:commerce data in typo3. Because I am logged 
on as a backend user in commerce, I can see the shopping basket and can 
purchase things using the preview of typo3. That's my idea... A backend user 
becomes a commerce admin, a front end user a normal customer. I think this 
is the best solution using sso (single signon) with xt:commerce. Creating a 
backend user in typo3 creates a admin in xt:commerce... creating a frontend 
user creates a customer in xt:commerce. This works already fine using hooks 
in tcemain.

Chris

Bangkok / Thailand





----- Original Message ----- 
From: "Steffen Kamper" <steffen at sk-typo3.de>
Newsgroups: typo3.dev
To: <typo3-dev at lists.netfielders.de>
Sent: Monday, July 30, 2007 11:14 PM
Subject: Re: [TYPO3-dev] Hook needed in class.t3lib_userauth.php


>
> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
> Newsbeitrag 
> news:mailman.1.1185809854.10595.typo3-dev at lists.netfielders.de...
>> dl4gbe at gmail.com schrieb:
>>> Hallo,
>>>
>>> Big problem. I urgently would need a hook in function 
>>> checkAuthentication class.t3lib_userauth.php. Hooks for logout exist
>>
>> Be careful! The hook is AFAIR only run, when the user logs off. It is not 
>> run during session purge (cleaning up expired sessions).
>>
>> > but I can't find a hook for logon.
>>
>> I think there is one - search again ;-) Or it was only proposed... cannot 
>> remember.
>>
>> Masi
>
> take this one:
>
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['Hallo ']
>
> vg  Steffen
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev 





More information about the TYPO3-dev mailing list