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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if backends.backends|length %}
|
||||||
<h5>{% trans "Please choose a provider" %}</h5>
|
<h5>{% trans "Please choose a provider" %}</h5>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -24,3 +25,4 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue