Breaking: #103910 - Change logout handling in EXT:felogin
See forge#103910
Description
The logout handling has been adjusted to correctly dispatch the PSR-14 event
\TYPO3\ when a logout
redirect is configured. The
action variable has been removed, and the
logout template has been updated to reflect this change, including correct use
of the
noredirect functionality.
Impact
The PSR-14 event
Logout is now
correctly dispatched when a logout redirect is configured. Additionally, the
noredirect parameter is now evaluated during logout.
Affected installations
TYPO3 installations using EXT:felogin with a custom Fluid template for the logout form.
Migration
The
{action variable is no longer available and must be removed
from custom templates.
Before:
<!-- Before -->
<f:form action="login" actionUri="{actionUri}" target="_top" fieldNamePrefix="">
After:
<f:form action="login" target="_top" fieldNamePrefix="">
The evaluation of the
{no variable must be added to the
template:
Before:
<div class="felogin-hidden">
<f:form.hidden name="logintype" value="logout" />
</div>
After:
<div class="felogin-hidden">
<f:form.hidden name="logintype" value="logout" />
<f:if condition="{noRedirect} != ''">
<f:form.hidden name="noredirect" value="1" />
</f:if>
</div>