diff --git a/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig b/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig index dbd524a7d739..fb9e47b2555b 100644 --- a/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig +++ b/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig @@ -33,7 +33,13 @@ Authenticated? - {{ collector.authenticated ? 'yes' : 'no' }} + + {% if collector.authenticated %} + yes + {% else %} + no {% if not collector.roles|length %}(probably because the user has no roles){% endif %} + {% endif %} + Roles