Commit bf77ab4c authored by Pietro Albini's avatar Pietro Albini Committed by Milo Casagrande

Removed ability to delete all ids, when only one id is available.

No related merge requests found
......@@ -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