aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-12 01:50:57 +0200
committerMichał Górny <mgorny@gentoo.org>2013-08-12 16:07:51 +0200
commit4ea9eee3deefbb41e8f7728eaea04d0c3f0a3264 (patch)
treec529ba26f27cd322700fdc2c28f98f48d1dde773 /okupy/templates
parentUse local memory cache session backend in tests. (diff)
downloadidentity.gentoo.org-4ea9eee3deefbb41e8f7728eaea04d0c3f0a3264.tar.gz
identity.gentoo.org-4ea9eee3deefbb41e8f7728eaea04d0c3f0a3264.tar.bz2
identity.gentoo.org-4ea9eee3deefbb41e8f7728eaea04d0c3f0a3264.zip
SSL auth: authenticate directly into session.
Do not use dedicated tokens. Instead pass the encrypted session identifier and write the authentication results directly into the current session.
Diffstat (limited to 'okupy/templates')
-rw-r--r--okupy/templates/login.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/okupy/templates/login.html b/okupy/templates/login.html
index 36342a4..80e87e5 100644
--- a/okupy/templates/login.html
+++ b/okupy/templates/login.html
@@ -27,7 +27,15 @@
{% endif %}
</form>
{% if not is_otp %}
- <p>Alternatively: <a href="{{ ssl_auth_uri }}">login using SSL client certificate</a></p>
+ <p>
+ Alternatively:
+ <form action="{{ ssl_auth_uri }}" method="POST">
+ {% for field in ssl_auth_form %}
+ {{ field }}
+ {% endfor %}
+ <input type="submit" value="Login using SSL certificate" />
+ </form>
+ </p>
<a href="/recover">Forgot your password?</a>
{% endif %}
<br />