Actions
Bug #22603
closedCondition misses check for no logged in user
Start date:
2010-05-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
its possible to check for any logged in user with
[loginUser = *]
or specified
[loginUser = 2,3]
but not the negative if no user is logged in.
If using the check alone it would be possible to do this in else
[loginUser = *]
[else]
#no user is logged in
[end]
but if you combine conditions, eg checking for wrong login data, it's not possible.
Attached patch solve this by allow empty string for not logged in user
[loginUser = ]
so you can combine it like
[loginUser = ] && [globalVar = GP:logintype = login]
(issue imported from #M14327)
Files
Updated by Steffen Kamper over 14 years ago
Committed patch and unit test to trunk rev 7639
Actions