File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector Expand file tree Collapse file tree 1 file changed +1
-2
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 is_authenticated = collector .enabled and collector .authenticated %}
8
7
{% set color_code = collector .enabled and not collector .authenticatorManagerEnabled ? ' yellow' %}
9
8
{% set icon %}
10
9
{{ include (' @Security/Collector/icon.svg' ) }}
31
30
32
31
<div class =" sf-toolbar-info-piece" >
33
32
<b >Authenticated</b >
34
- <span class =" sf-toolbar-status sf-toolbar-status-{{ is_authenticated ? ' green' : ' yellow' }}" >{{ is_authenticated ? ' Yes' : ' No' }}</span >
33
+ <span class =" sf-toolbar-status sf-toolbar-status-{{ collector . authenticated ? ' green' : ' yellow' }}" >{{ collector . authenticated ? ' Yes' : ' No' }}</span >
35
34
</div >
36
35
37
36
<div class =" sf-toolbar-info-piece" >
You can’t perform that action at this time.
0 commit comments