summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-07 18:04:07 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-07 18:04:10 +0000
commit0f843e083569384659edc048092657ef0b9c13bf (patch)
tree33af805a31f4b027d10ab75845aee59cc5d17343
parent4038d7abac16904ba655c5af96415571f3370660 (diff)
downloadinfrastructure-0f843e083569384659edc048092657ef0b9c13bf.tar.gz
openid_provider: Include a link to the user's OpenID in the index
-rw-r--r--baserock_openid_provider/templates/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/baserock_openid_provider/templates/index.html b/baserock_openid_provider/templates/index.html
index 9a13184b..5b2d3555 100644
--- a/baserock_openid_provider/templates/index.html
+++ b/baserock_openid_provider/templates/index.html
@@ -2,5 +2,10 @@
{% load i18n %}
{% block content %}
-Index page
+<p>This is the Baserock OpenID provider.</p>
+
+{% if user.is_authenticated %}
+ <p>Your OpenID is: <a href="http://login.baserock.org/openid/{{ user.username }}">http://login.baserock.org/openid/{{ user.username }}</a></p>
+{% endif %}
+
{% endblock %}