[TYPO3-core] RFC: #14327: Condition misses check for no logged in user
Steffen Kamper
info at sk-typo3.de
Fri May 7 02:54:18 CEST 2010
This is a SVN patch request.
Type: bugfix / mini-feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=14327
Branches:
Trunk
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]
page.100 = TEXT
page.100.value = Wrong login data
[end]
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14327.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100507/d2ed3319/attachment.txt>
More information about the TYPO3-team-core
mailing list