[Typo3-dev] How to authenticate BE users?
René Fritz
r.fritz at colorcube.de
Thu Jun 2 14:18:28 CEST 2005
Hi Ingo
I'm wondering what you're doing :-)
> 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
> password?
Why building that service when the system service is doing that already?
> -----
> $auth = t3lib_div::makeInstance('t3lib_beUserAuth');
> $auth->formfield_status = 'login';
> $auth->formfield_uname = $username;
> $auth->formfield_uident = md5($password);
> $auth->security_level = 'normal';
> -----
In BE security_level='superchallenged'
formfield_uident is md5 of username:userident:chalvalue
I'm still not sure what your needs so I can help you very much.
René
--
COLORCUBE
digital media lab
www.colorcube.de
More information about the TYPO3-dev
mailing list