Commit a7113d9c authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Quick fix

parent 4c42fa17
......@@ -72,7 +72,7 @@
{% if not user.is_authenticated %}
<div class="btn-group open" id="account-menu">
<a class="btn btn-default" href="{% url 'login' %}?next={{ request.path }}"><i class="fa fa-user"></i>{% trans "Login" %}</a>
<a class="btn btn-default" href="{% url 'login' %}{% if request.path != '/logout/' %}?next={{ request.path }}{% endif %}"><i class="fa fa-user"></i>{% trans "Login" %}</a>
{% else %}
<div class="btn-group" id="account-menu">
Supports Markdown
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