[TYPO3-dev] Do a FE_Login in Typo3 6.2 Extension

Klaus Heuer post at heuer-illustration.de
Thu Oct 16 20:09:33 CEST 2014


Hi Benedikt,
I also use an individual FE User login but without injecting the 
AbstractUserAuthentication, I just use the fe-login magic.

You can find a controller sample here 
https://github.com/klaus-ger/ProjectsAndTasks/blob/master/Classes/Controller/LoginController.php.

The User validation ist then just (Base Controller)
$user = $GLOBALS['TSFE']->fe_user->user;

if ($user == NULL) {
     $this->redirect('logIn', 'Login');
} else {
     //do some stuff with a vaild FE Usere here
}

gr Klaus



More information about the TYPO3-dev mailing list