summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/base.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-13 11:37:38 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-13 11:37:38 +0100
commit0a1f8de9b4537f0e0d67e694ff8746003e20f3c8 (patch)
tree57eaef482c2b8f7190888edf956a6b92fab588f4 /hyperkitty/templates/base.html
parentccafc51ade9536046aeb096b04b069f17874fab4 (diff)
Rework the login and register forms
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 d645dbe..85b044e 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -26,8 +26,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 %}?next={{next|default:request.path}}">Login</a></li>
- <li><a href="{% url user_registration %}?next={{next|default:request.path}}"> Sign Up </a></li>
+ <li><a class="mm_user" href="{% url user_login %}?next={{next|default:request.path|urlencode}}">Login</a></li>
+ <li><a href="{% url user_registration %}?next={{next|default:request.path|urlencode}}"> Sign Up </a></li>
{% endif %}
</ul>