Skip to content

Commit

Permalink
[SecurityBundle] made some tweaks to the security profiler panel
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 15, 2011
1 parent 44c95f9 commit 39504fc
Showing 1 changed file with 14 additions and 5 deletions.
Expand Up @@ -26,11 +26,20 @@
{% block panel %}
<h2>Security</h2>
{% if collector.user %}
<p>
Username: <strong>{{ collector.user }}</strong><br />
Authenticated? <strong>{{ collector.authenticated ? 'yes' : 'no' }}</strong><br />
Roles: <strong>{{ collector.roles|yaml_encode }}</strong>
</p>
<table>
<tr>
<th>Username</th>
<td>{{ collector.user }}</td>
</tr>
<tr>
<th>Authenticated?</th>
<td>{{ collector.authenticated ? 'yes' : 'no' }}</td>
</tr>
<tr>
<th>Roles</th>
<td>{{ collector.roles|yaml_encode }}</td>
</tr>
</table>
{% elseif collector.enabled %}
<p>
<em>No token</em>
Expand Down

0 comments on commit 39504fc

Please sign in to comment.