Commit 8892db2a authored by hynek's avatar hynek 🤤
Browse files

refactor(templates): remove ddusers.user_login/logout from top-nav

use shibboleth:login/logout instead
parent 70a07837
......@@ -27,11 +27,11 @@
<ul class="navbar-nav ml-auto">
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{% url 'ddusers.user_logout' %}">{% trans "Sign Out" %}</a>
<a class="nav-link" href="{% url 'shibboleth:logout' %}">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item" data-toggle="modal" data-target="#signIn">
<a id="log-in-link" class="nav-link" href="{% url 'ddusers.user_login' %}">{% trans "Sign In" %}</a>
<a id="log-in-link" class="nav-link" href="{% url 'shibboleth:login' %}">{% trans "Sign In" %}</a>
</li>
{% endif %}
</ul>
......
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