summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 93e0a6c..6f48158 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -23,7 +23,7 @@
<ul class="nav auth">
{% if user.is_authenticated %}
- <li><a class="mm_logout" href="{% url user_logout %}">Logout</a></li>
+ <li><a class="mm_logout" href="{% url user_logout %}?next={% url root %}">Logout</a></li>
<li><a href="{% url user_profile %}">{{ user.username }}</a></li>
{% else %}
<li><a class="mm_user" href="{% url user_login %}?next={{next|default:request.path|urlencode}}">Login</a></li>