Actions
Bug #86841
closedInline "then"/"else" not working for <f:security.ifAuthenticated>
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2018-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have this code... (I use last TYPO3 9.5.1)
<f:security.ifAuthenticated>
<f:then>
### This is being shown in case you have access. ###
</f:then>
<f:else>
### This is being displayed in case you do not have access. ###
</f:else>
</f:security.ifAuthenticated>
If I do login with my FE user account. I must be see this text `### This is being shown in case you have access. ###` and I see him...
If I do not login with my FE user account. I must be see this text `### This is being displayed in case you do not have access. ###` ...but I do not see him... for some reason the `condition` does not working.
Why, I do not see the text from `<f:else>### This is being displayed in case you do not have access. ###</f:else>`, when I do not login with my FE user account?
what is wrong with him?
With the code..
<v:security.allow anyFrontendUser="TRUE">
<f:then><!-- protected information displayed --></f:then>
<f:else><!-- link to login form displayed --></f:else>
</v:security.allow>
...the same`
Actions