Commit d0512a03 authored by Enrico Zini's avatar Enrico Zini
Browse files

Don't display login info while impersonating. refs: #2

parent d8a877d0
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<h1>nm.debian.org login</h1> <h1>nm.debian.org login</h1>
{% if not impersonator %}
{% if not providers_active and not providers_inactive %} {% if not providers_active and not providers_inactive %}
<p class="lead"> <p class="lead">
{% blocktrans %} {% blocktrans %}
...@@ -81,6 +82,9 @@ ...@@ -81,6 +82,9 @@
</ul> </ul>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% else %}
<p class="lead">{% trans "Current login information not displayed while impersonating." %}</p>
{% endif %}
{% if identities %} {% if identities %}
<h2>{% trans "Identity audit logs" %}</h2> <h2>{% trans "Identity audit logs" %}</h2>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment