mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-15 17:59:43 +00:00
impersonate, change exit link destination
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
{# Impersonate case logout #}
|
{# Impersonate case logout #}
|
||||||
{% if is_granted('ROLE_PREVIOUS_ADMIN') and menu.name == 'Logout' %}
|
{% if is_granted('ROLE_PREVIOUS_ADMIN') and menu.name == 'Logout' %}
|
||||||
|
|
||||||
<a href="{{ path('chill_main_homepage', {'_switch_user': '_exit'}) }}">
|
<a href="{{ path('admin_user', {'_switch_user': '_exit'}) }}">
|
||||||
{{ 'Exit impersonation'|trans }}
|
{{ 'Exit impersonation'|trans }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user