8000 minor #20412 [SecurityBundle] consistent "not authenticated" output i… · symfony/symfony@a559036 · GitHub
[go: up one dir, main page]

Skip to content

Commit a559036

Browse files
committed
minor #20412 [SecurityBundle] consistent "not authenticated" output in WDT (xabbuh)
This PR was merged into the 3.2-dev branch. Discussion ---------- [SecurityBundle] consistent "not authenticated" output in WDT | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a This makes the output in the toolbar when no token is present consistent with what it looks like when there is a token. **Before**: <img width="335" alt="before" src="https://cloud.githubusercontent.com/assets/1957048/20016982/0841bde2-a2c2-11e6-8ec2-0bea84290e00.png"> **After**: <img width="278" alt="after" src="https://cloud.githubusercontent.com/assets/1957048/20016981/083f3fae-a2c2-11e6-9ac0-0ad35b816411.png"> Commits ------- 1b05650 consistent "not authenticated" output in WDT
2 parents 79259aa + 1b05650 commit a559036

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
</div>
3535
{% else %}
3636
<div class="sf-toolbar-info-piece">
37-
<span>You are not authenticated.</span>
37+
<b>Authenticated</b>
38+
<span class="sf-toolbar-status sf-toolbar-status-red">No</span>
3839
</div>
3940
{% endif %}
4041

0 commit comments

Comments
 (0)
0