From d6d44a3855f93afebd962843cfdfb9952912443e Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 17 Sep 2012 23:48:04 +0200 Subject: show openid of user in forbidden page --- data/templates/forbidden.htm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'data') 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 @@ acces denied

Access Denied

+{% if identity %}

- We're sorry; but you are not allowed to access this page. + You are logged in with the following OpenID:

- You may log in if you want. + {{identity}}

+

+ Unfortunately, your OpenID is not unlocked. + Contact the site administrator to get access. +

+{% else %} +

+ We're sorry; but you have to log in to access this page. +

+{% endif %} {% endblock %} -- cgit v1.2.3