aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/forbidden.htm14
1 files changed, 12 insertions, 2 deletions
diff --git a/data/templates/forbidden.htm b/data/templates/forbidden.htm
index 04b8fb6..585c2fe 100644
--- a/data/templates/forbidden.htm
+++ b/data/templates/forbidden.htm
@@ -5,11 +5,21 @@
<img src="/images/access_denied.png" align='left' alt="acces denied"/>
<h2>Access Denied</h2>
+{% if identity %}
<p>
- We're sorry; but you are not allowed to access this page.
+ You are logged in with the following OpenID:
</p>
<p>
- You may <a href="/login">log in</a> if you want.
+ <code>{{identity}}</code>
</p>
+<p>
+ Unfortunately, your OpenID is not unlocked.
+ Contact the site administrator to get access.
+</p>
+{% else %}
+<p>
+ We're sorry; but you have to <a href="/login">log in</a> to access this page.
+</p>
+{% endif %}
{% endblock %}