[TYPO3] Logging a user in from the code

Bjørn Dissing bumle90 at hotmail.com
Thu Aug 31 12:19:09 CEST 2006


Hello.
I need to log in a user in my own plugin. I am using the normal FEUsers auth 
scheme, but i cannot seem to figure out how to log in a FE user from my 
code.

I found out that i can do this:
die(header('Location:http://www.coachkontakt.dk/index.php?id=32&logintype=login&pid=xxx&user=yyy&pass=zzz'));

But this cannot be used because all the credentials then appears in the 
address line which is a huge security risc.

So there must be a function i can call, and send username/password, which 
then updates the usersession and logs him in.
But how is this done?
Regards...

_________________________________________________________________
Del dine store filer uden problemer på MSN Messenger:  
http://messenger.msn.dk/




More information about the TYPO3-english mailing list