[TYPO3-dev] hook after user login

Krystian Szymukowicz t33k at prolabium.com
Wed Dec 14 22:03:22 CET 2011


W dniu 2011-12-14 21:33, Krystian Szymukowicz pisze:
>
> hi
>
> Do you now any hook I can use after successful user login?
> I need it to create some cookies after the user is logged.
>
>
> I checked google:
>
> 1) there is an old discussion from 2005 year that there is need for such
> hook but it points to cvs.sourceforge.net so I can not check the change
>
> 2) I read that I can use:
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php'
> ['postUserLookUp'][]
>
> but this is called everytime I refresh the page - even for not logged user

After writing I thought that this may be part of the extension which is 
used for login and yes in "felogin" there is a hook for that:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_confirmed']

but anyway - if anyone knows the hook in the core I will hear that with 
pleasure.
Its better to have something independent of extension used for login 
process.


-- 
grtz
Krystian Szymukowicz



More information about the TYPO3-dev mailing list