summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/login.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/login.html
parentee85823ef569c9a8ef46f3dd401fe9f322de95a1 (diff)
downloadhyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.tar.gz
hyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.tar.xz
hyperkitty-5cb4e8512157e1153821a5c6085361234ca7ef41.zip
Prepare a fix for #25
Diffstat (limited to 'hyperkitty/templates/login.html')
-rw-r--r--hyperkitty/templates/login.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/login.html b/hyperkitty/templates/login.html
index 5db40bb..f502aed 100644
--- a/hyperkitty/templates/login.html
+++ b/hyperkitty/templates/login.html
@@ -8,7 +8,7 @@
<form action="" method="post" class="login mm_clear">
{% csrf_token %}
{{ form.as_p }}
- <input type=hidden name=next value={{ next }}>
+ <input type="hidden" name="next" value="{{ next }}" />
<div class="field">
<button class="btn btn-primary" type="submit">
{% trans "Login" %}
@@ -23,7 +23,7 @@
<li><a title="Yahoo" class="socialaccount_provider yahoo" href="{% url socialauth_begin backend='yahoo' %}"><img src="{{ STATIC_URL }}img/login/yahoo.png" alt="Yahoo"></a></li>
<li>
- <form method="post" action="{% url socialauth_complete "browserid" %}?{{next}}">
+ <form method="post" action="{% url socialauth_complete "browserid" %}?{{redirect_querystring}}">
{% csrf_token %}
<input type="hidden" name="assertion" value="" />
<a rel="nofollow" id="browserid" href="#"><img src="{{ STATIC_URL }}img/login/browserid.png" alt="Login using BrowserID" /></a>
@@ -52,7 +52,7 @@
}
});
});
- });
+ });
</script>
<!-- end browserid stuff -->
{% endblock additionaljs %}