Authentication: hide block with OAuth providers, when no providers configured
This commit is contained in:
parent
5ed0361998
commit
0d3046e711
1 changed files with 2 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue