Commit e078a286 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ui][templates] Update the sign-in link to use the two_factor module

parent 7fb51e07
......@@ -119,7 +119,7 @@
{% else %}
<li><p class="navbar-btn"><a class="btn btn-sm btn-primary" title="Register now for free!" href="{% url 'registration' %}"><i class="fa fa-plus fa-fw fa-lg"></i> Sign-up</a></p></li>
{% endif %}
<li><p class="navbar-btn"><a class="btn btn-sm btn-success" title="Sign-in" href="{% url 'login' %}?next={{ request.path }}"><i class="fa fa-sign-in fa-fw fa-lg"></i> Sign-in</a></p></li>
<li><p class="navbar-btn"><a class="btn btn-sm btn-success" title="Sign-in" href="{% url 'two_factor:login' %}?next={{ request.path }}"><i class="fa fa-sign-in fa-fw fa-lg"></i> Sign-in</a></p></li>
{% else %}
<li class="visible-xs"><a title="Your homepage" href="{% url 'activity-stream' request.user.username %}"><i class="fa fa-home fa-fw"></i> Your homepage</a></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment