[TYPO3-dev] authUser() not used

Philipp Gampe philipp.gampe at typo3.org
Sat Dec 20 10:28:29 CET 2014


Hi Marcel,

Marcel Utz wrote:

> What I want to do is if a user has a special group, the user should be
> authenticated by my own service and if not authenticated, there should be
> no other authentication service used. As far as I know, this could be only
> done by authUser(), because only this function can cancel the auth process
> so that no other auth service is called. So the return of authUser()
> should be "0". Setting return of authUser() to "0" still doesn't stop the
> login process.

You just need to return the right return value to mark a user as 
authenticated (or not) and sort your service in first.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!




More information about the TYPO3-dev mailing list