summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/login.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-06 12:50:21 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-06 12:50:21 +0200
commit4935c17ef310732a5e339ff5faa6c33bfde298b6 (patch)
tree86840af9568592e437c5c86df7c110a099fdf776 /hyperkitty/templates/login.html
parent9877360a7f81943239d852de14eebf8be7674ad5 (diff)
downloadhyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.tar.gz
hyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.tar.xz
hyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.zip
Fix leftover hardcoded URLs
Diffstat (limited to 'hyperkitty/templates/login.html')
-rw-r--r--hyperkitty/templates/login.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/hyperkitty/templates/login.html b/hyperkitty/templates/login.html
index a137c97..2ffdbd2 100644
--- a/hyperkitty/templates/login.html
+++ b/hyperkitty/templates/login.html
@@ -17,13 +17,13 @@
</form>
-<ul class="socialLogin">
- <li><a title="Google" class="socialaccount_provider google" href="/login/google"><img src="{{ STATIC_URL }}img/login/google.png" alt="Google"></a></li>
-
- <li><a title="Yahoo" class="socialaccount_provider yahoo" href="/login/yahoo"><img src="{{ STATIC_URL }}img/login/yahoo.png" alt="Yahoo"></a></li>
-
+<ul class="socialLogin">
+ <li><a title="Google" class="socialaccount_provider google" href="{% url socialauth_begin backend='google' %}"><img src="{{ STATIC_URL }}img/login/google.png" alt="Google"></a></li>
+
+ <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" %}">
+ <form method="post" action="{% url socialauth_complete "browserid" %}">
{% 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>