summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/base.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-12 11:21:36 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-12 11:21:36 +0100
commit5cb4e8512157e1153821a5c6085361234ca7ef41 (patch)
treed411d0e66897924fbafad569548edc15c39077a5 /hyperkitty/templates/base.html
parentee85823ef569c9a8ef46f3dd401fe9f322de95a1 (diff)
downloadhyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.tar.gz
hyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.tar.xz
hyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.zip
Prepare a fix for #25
Diffstat (limited to 'hyperkitty/templates/base.html')
-rw-r--r--hyperkitty/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index cd00a0f..ed06341 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -24,8 +24,8 @@
<li><a class="mm_logout" href="{% url user_logout %}">Logout</a></li>
<li><a href="{% url user_profile %}">{{ user.username }}</a></li>
{% else %}
- <li><a class="mm_user" href="{% url user_login %}">Login</a></li>
- <li><a href="{% url user_registration %}"> Sign Up </a></li>
+ <li><a class="mm_user" href="{% url user_login %}?next={{request.path}}">Login</a></li>
+ <li><a href="{% url user_registration %}?next={{request.path}}"> Sign Up </a></li>
{% endif %}
</ul>