diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-09-17 23:48:04 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-09-17 23:48:04 +0200 |
| commit | d6d44a3855f93afebd962843cfdfb9952912443e (patch) | |
| tree | 088a70c13e8f5ebda7c3372f5a3418b30e355a73 /data | |
| parent | f662a50e02abe50321766c84a23b977a455d401c (diff) | |
| download | phorkie-d6d44a3855f93afebd962843cfdfb9952912443e.tar.gz phorkie-d6d44a3855f93afebd962843cfdfb9952912443e.zip | |
show openid of user in forbidden page
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/forbidden.htm | 14 |
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 %} |
