Skip to content
Snippets Groups Projects
Commit e649f22a authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Do not show google-oauth2 button on 2fs token page.

parent b847357c
No related branches found
No related tags found
No related merge requests found
......@@ -58,12 +58,16 @@
</p>
{% endif %}
{% include "two_factor/_wizard_actions.html" %}
<div class="wrapper wrapper--inner-space-large">
{% include "two_factor/_wizard_actions.html" %}
</div>
{% endif %}
</form>
<div class="wrapper wrapper--inner-space-large">
<a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}{% if next %}?next={{ next }}{% endif %}">Log in with your OTF email</a>
</div>
{% if wizard.steps.current == 'auth' %}
<div class="wrapper wrapper--inner-space-large">
<a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}{% if next %}?next={{ next }}{% endif %}">Log in with your OTF email</a>
</div>
{% endif %}
</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