Skip to content
Snippets Groups Projects
Commit c56c6afd authored by Julian's avatar Julian
Browse files

Remove socialaccount provider selection card if there are no socialaccount providers configured

parent 6ca32fa3
No related branches found
No related tags found
1 merge request!622Resolve "Remove social account card on login page if there are no social accounts"
Pipeline #12480 passed
......@@ -101,16 +101,17 @@
{% endif %}
</div>
</div>
<div class="card">
<div class="card-content">
{% if wizard.steps.current == 'auth' and socialaccount_providers %}
<div class="card-title">
{% trans "Use alternative login options" %}
</div>
{% include "socialaccount/snippets/provider_list.html" with process="login" %}
{% endif %}
{% if wizard.steps.current == 'auth' and socialaccount_providers %}
<div class="card">
<div class="card-content">
<div class="card-title">
{% trans "Use alternative login options" %}
</div>
{% include "socialaccount/snippets/provider_list.html" with process="login" %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment