Commit a6a452e2 authored by Pietro Albini's avatar Pietro Albini

Removed ability to remove all ids

parent 59f6f489
......@@ -9,7 +9,7 @@
<p class="message">{% blocktrans %}These are the external authentication providers currently associated with your account.{% endblocktrans %}</p>
<div>
{% for key in auth_keys %}
<p>{{ key.name }} (<a href="{% url user_remove_external_provider id=key.id %}">{% trans "remove" %}</a>)</p>
<p>{{ key.name }} {% if auth_keys|length > 1 %} (<a href="{% url user_remove_external_provider id=key.id %}">{% trans "remove" %}</a>) {% endif %}</p>
{% endfor %}
</div>
{% endif %}
......
Markdown is supported
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