impersonate, change exit link destination

This commit is contained in:
Tchama 2019-05-16 16:30:27 +02:00
parent 7bcb80be54
commit 4b759ec096

View File

@ -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>