Authentication: hide block with OAuth providers, when no providers configured

This commit is contained in:
Stephan Bösch-Plepelits 2016-01-03 21:50:33 +01:00
parent 5ed0361998
commit 0d3046e711

View file

@ -13,6 +13,7 @@
</div>
{% endif %}
{% if backends.backends|length %}
<h5>{% trans "Please choose a provider" %}</h5>
<div>
@ -24,3 +25,4 @@
{% endfor %}
</ul>
</div>
{% endif %}