File tree 1 file changed +5
-3
lines changed
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
{% if collector .token %}
7
7
{% set is_authenticated = collector .enabled and collector .authenticated %}
8
8
{% set color_code = is_authenticated ? ' ' : ' yellow' %}
9
+ {% elseif collector .enabled %}
10
+ {% set color_code = collector .authenticatorManagerEnabled ? ' yellow' : ' red' %}
9
11
{% else %}
10
- {% set color_code = collector . enabled ? ' red ' : ' ' %}
12
+ {% set color_code = ' ' %}
11
13
{% endif %}
12
14
13
15
{% set icon %}
35
37
36
38
<div class =" sf-toolbar-info-piece" >
37
39
<b >Authenticated</b >
38
- <span class =" sf-toolbar-status sf-toolbar-status-{{ is_authenticated ? ' green' : ' red ' }}" >{{ is_authenticated ? ' Yes' : ' No' }}</span >
40
+ <span class =" sf-toolbar-status sf-toolbar-status-{{ is_authenticated ? ' green' : ' yellow ' }}" >{{ is_authenticated ? ' Yes' : ' No' }}</span >
39
41
</div >
40
42
41
43
<div class =" sf-toolbar-info-piece" >
45
47
{% else %}
46
48
<div class =" sf-toolbar-info-piece" >
47
49
<b >Authenticated</b >
48
- <span class =" sf-toolbar-status sf-toolbar-status-red " >No</span >
50
+ <span class =" sf-toolbar-status sf-toolbar-status-yellow " >No</span >
49
51
</div >
50
52
{% endif %}
51
53
You can’t perform that action at this time.
0 commit comments