[Typo3-dev] How to authenticate BE users?
peter.russ at 4many.net
Thu Jun 2 16:02:49 CEST 2005
Ingo Renner wrote:
> Hi all,
> I still haven't solved my problem with BE user authentication. After
> reading a lot of documentation and source code I have a question: Would
> make sense to build a service which authenticates BE users by username and
> So this service could be used in other extensions.
> I haven't started with the service yet but I had another approach/idea how
> to authenticate a BE user:
> $auth = t3lib_div::makeInstance('t3lib_beUserAuth');
> $auth->formfield_status = 'login';
> $auth->formfield_uname = $username;
> $auth->formfield_uident = md5($password);
> $auth->security_level = 'normal';
> Now which method do I have to call to know whether the login is ok or not?
> Any help with that is very appreciated as it is one of the last major
> things keeping me from releasing the EXT:timtab!
> thanks in advance
Does that help?
More information about the TYPO3-dev