File tree 1 file changed +5
-20
lines changed
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector
1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 4
4
5
5
{% block toolbar %}
6
6
{% if collector .firewall %}
7
- {% set color_code = collector .enabled and not collector .authenticatorManagerEnabled ? ' yellow' %}
8
-
9
7
{% set icon %}
10
8
{{ include (' @Security/Collector/icon.svg' ) }}
11
9
<span class =" sf-toolbar-value" >{{ collector .user | default (' n/a' ) }}</span >
85
83
</div >
86
84
{% endset %}
87
85
88
- {{ include (' @WebProfiler/Profiler/toolbar_item.html.twig' , { link : profiler_url , status : color_code }) }}
86
+ {{ include (' @WebProfiler/Profiler/toolbar_item.html.twig' , { link : profiler_url }) }}
89
87
{% endif %}
90
88
{% endblock %}
91
89
176
174
<span class =" value" >{{ include (' @WebProfiler/Icon/' ~ (collector .firewall .stateless ? ' yes' : ' no' ) ~ ' .svg' ) }}</span >
177
175
<span class =" label" >Stateless</span >
178
176
</div >
179
- {% if collector .authenticatorManagerEnabled == false %}
180
- <div class =" metric" >
181
- <span class =" value" >{{ include (' @WebProfiler/Icon/' ~ (collector .firewall .allows_anonymous ? ' yes' : ' no' ) ~ ' .svg' ) }}</span >
182
- <span class =" label" >Allows anonymous</span >
183
- </div >
184
- {% endif %}
185
177
</div >
186
178
187
179
{% if collector .firewall .security_enabled %}
218
210
<th >access_denied_url</th >
219
211
<td >{{ collector .firewall .access_denied_url ?: ' (none)' }}</td >
220
212
</tr >
221
- {% if collector .authenticatorManagerEnabled %}
222
- <tr >
223
- <th >authenticators</th >
224
- <td >{{ collector .firewall .authenticators is empty ? ' (none)' : profiler_dump(collector .firewall .authenticators , maxDepth=1) }}</td >
225
- </tr >
226
- {% else %}
227
- <tr >
228
- <th >listeners</th >
229
- <td >{{ collector .firewall .listeners is empty ? ' (none)' : profiler_dump(collector .firewall .listeners , maxDepth=1) }}</td >
230
- </tr >
231
- {% endif %}
213
+ <tr >
214
+ <th >authenticators</th >
215
+ <td >{{ collector .firewall .authenticators is empty ? ' (none)' : profiler_dump(collector .firewall .authenticators , maxDepth=1) }}</td >
216
+ </tr >
232
217
</tbody >
233
218
</table >
234
219
{% endif %}
You can’t perform that action at this time.
0 commit comments