[TYPO3-dev] Tapping into 'auth' Service Type

Xavier Perseguers typo3 at perseguers.ch
Thu Oct 2 19:48:01 CEST 2008


Hello,

> I am trying to create an extension that will modify a FE user's log-in 
> information right after they first log-in with a username and password, 
> but before the username and password is sent to be authenticated. It 
> should just md5 hash the password and put it back to be authenticated.
> 
> I'm looking into services for this. There is a service called 'auth' 
> with a subType 'getUserFE', and I thought if I could tap into this I 
> could succeed in what I want to do. So I used the extension wizard to 
> add a service to my extension. But I noticed that the 'auth', 
> 'getUserFE' service is called by 'class.t3lib_userauth.php' before my 
> service is even added.

You may create your own extension to do that (I finished this 10 min 
ago) but I think it would be worth having a look at extension kb_md5fepw 
which does exactly this and hooks to the frontend user authentication.

Regards

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en




More information about the TYPO3-dev mailing list