File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Resources/views/Collector Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{% extends ' @WebProfiler/Profiler/layout.html.twig' %}
22
33{% block toolbar %}
4- {% if collector .user %}
4+ {% if collector .tokenClass %}
55 {% set color_code = (collector .enabled and collector .authenticated ) ? ' green' : ' yellow' %}
66 {% set authentication_color_code = (collector .enabled and collector .authenticated ) ? ' green' : ' red' %}
77 {% set authentication_color_text = (collector .enabled and collector .authenticated ) ? ' Yes' : ' No' %}
88 {% else %}
99 {% set color_code = collector .enabled ? ' red' : ' black' %}
1010 {% endif %}
1111 {% set text %}
12- {% if collector .user %}
12+ {% if collector .tokenClass %}
1313 <div class =" sf-toolbar-info-piece" >
1414 <b >Logged in as</b >
1515 <span class =" sf-toolbar-status sf-toolbar-status-{{ color_code }}" >{{ collector .user }}</span >
4747
4848{% block panel %}
4949 <h2 >Security</h2 >
50- {% if collector .user %}
50+ {% if collector .tokenClass %}
5151 <table >
5252 <tr >
5353 <th >Username</th >
You can’t perform that action at this time.
0 commit comments