Skip to content

Commit 785d53c

Browse files
committed
More tweaks
1 parent 9e6d889 commit 785d53c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
{% block toolbar %}
66
{% if collector.firewall %}
7-
{% set is_authenticated = collector.enabled and collector.authenticated %}
87
{% set color_code = collector.enabled and not collector.authenticatorManagerEnabled ? 'yellow' %}
98
{% set icon %}
109
{{ include('@Security/Collector/icon.svg') }}
@@ -31,7 +30,7 @@
3130

3231
<div class="sf-toolbar-info-piece">
3332
<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>
3534
</div>
3635

3736
<div class="sf-toolbar-info-piece">

0 commit comments

Comments
 (0)