This commit is contained in:
Götz 2019-04-10 23:36:43 +02:00
parent 1e7063ecb4
commit 7873087213

View File

@ -36,7 +36,7 @@
{% if request.user.is_authenticated %}
<span class="navbar-text">
Hi {{ request.user.username }}!
<a href="{{ url('logout') }}">Logout</a>
<a href="{{ url('logout') }}?next=/">Logout</a>
{% else %}
<a href="{{ url('login') }}">Login</a>
{% endif %}