{% block stylesheets %}{% endblock %} {% set sidebarVisible = is_granted('ROLE_ADMIN') and app.request.getSession() is not null and app.request.getSession().get('2fa_passed') %}
{% if sidebarVisible %} {{ include('_partials/_sidebar.html.twig') }} {% endif %}