Fix logout/login infinite loop

(Since there are now no pages accessible without login, there is no need for the login link to have the "next" parameter)
This commit is contained in:
David Taylor
2015-06-28 22:35:52 +01:00
parent a0467300e3
commit 0a55d373f2

View File

@@ -112,7 +112,7 @@
</li>
</ul>
{% else %}
<a href="{% url "login" %}?next={{ request.path }}">
<a href="{% url "login" %}">
<span class="icon-user"></span>
Login
</a>