diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-07 18:04:07 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-11-07 18:04:10 +0000 |
commit | 0f843e083569384659edc048092657ef0b9c13bf (patch) | |
tree | 33af805a31f4b027d10ab75845aee59cc5d17343 | |
parent | 4038d7abac16904ba655c5af96415571f3370660 (diff) | |
download | infrastructure-0f843e083569384659edc048092657ef0b9c13bf.tar.gz |
openid_provider: Include a link to the user's OpenID in the index
-rw-r--r-- | baserock_openid_provider/templates/index.html | 7 |
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 %} |