[TYPO3-dev] Hook request for t3lib_userauth

Loek Hilgersom loek at netcoop.nl
Tue Feb 14 15:05:03 CET 2012


Hi Nicole,

I did see that hook, but it's too late in the process because the 
sessioncookie has already been set there.
But maybe I can combine that hook with a service: a service to block 
illegal attempts and the hook for further processing... that will be a 
kind of funny implementation but it might work. I'll first see if that 
works and postpone the hook request.

Loek


Op 13-02-12 22:48, Nicole Cordes schreef:
> Hi Loek,
>
> Did you have a look at t3lib/class.t3lib_userauth.php (line 293)
>
> // Hook for alternative ways of filling the $this->user array (is used by
> the "timtaw" extension)
> if
> (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['
> postUserLookUp'])) {
> 	foreach
> ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserL
> ookUp'] as $funcName) {
> 		$_params = array(
> 			'pObj' =>  &$this,
> 		);
> 		t3lib_div::callUserFunction($funcName, $_params, $this);
> 	}
> }
>
> Hopes this can help you a bit.
>
>
> Nicole
>



More information about the TYPO3-dev mailing list