[TYPO3-dev] Tapping into 'auth' Service Type
Dmitry Dulepov
dmitry at typo3.org
Thu Oct 2 17:49:57 CEST 2008
Hi!
Frank Weindel wrote:
> 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.
>
> So basically what I am asking: Is there a way to add my service before
> authentication is run?
I would look for a hook. If you want just to change password to its md5 value, you do not need a service. Look for a hook that is called before user authentication.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/
More information about the TYPO3-dev
mailing list