Actions
Bug #97590
closedFluid ViewHelper for Frontend Authentication don't respect isLoggedIn property
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-05-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Fluid Viewhelper for frontend authentication check id of user and not isLoggedIn property.
If someone call FrontendAuthentication::hideActiveLogin this viewhelper don't work as aspected.
TYPO3 version ^10
Suggestion:
change
return GeneralUtility::makeInstance(Context::class)->getPropertyFromAspect('frontend.user', 'id', 0) > 0;
with
return GeneralUtility::makeInstance(Context::class)->getPropertyFromAspect('frontend.user', 'isLoggedIn', false);
in viewhelper class.
Updated by Georg Ringer over 2 years ago
- Status changed from New to Rejected
Thanks for creating this issue.
Even though it is valid, the mentioned method has been removed with #96616. The code won't be changed in 11.
Feel free to use a custom viewhelper if you need that.
Updated by Georg Ringer over 2 years ago
- Related to Bug #96616: Remove pages.fe_login_mode added
Actions