{% extends 'WebProfilerBundle:Profiler:layout.twig.html' %} {% block toolbar %} Security {% if collector.authenticated %} {{ collector.user }} {% elseif collector.enabled %} anon. {% else %} disabled {% endif %} {% endblock %} {% block menu %} Security Security {% endblock %} {% block panel %}

Security

{% if collector.authenticated %} Username: {{ collector.user }}
Roles: {{ collector.roles|yaml_encode }} {% elseif collector.enabled %} No token {% else %} The security component is disabled {% endif %} {% endblock %}