[TYPO3-dev] Re: Typo3 6.2.1 Update - felogin error
Sascha
lsascha at gmail.com
Tue Apr 22 17:46:08 CEST 2014
Hello again and sorry for spamming. :)
I solved the issue with changing the getCurrentFeUser()
into:
/**
* gets current logged in frontenduser
*
* @return \TYPO3\CMS\Extbase\Domain\Model\FrontendUser
*/
private function getCurrentFeUser() {
$user=$GLOBALS['TSFE']->fe_user->user;
$feUserObj = $this->feUserRepository->findByUid( $user['uid'] );
return $feUserObj;
}
it seems it does no longer work like before and i looked into what $GLOBALS['TSFE']->fe_user->user returns.
Since it was an array with the key "uid" i changed it as i showed and it works now. Not sure what changed here since it worked before. Or if i was wrong before already.
Thanks anyway. for reading. :)
More information about the TYPO3-dev
mailing list