summaryrefslogtreecommitdiff
path: root/templates/denied.html
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2018-01-14 14:22:10 +0100
committerJan Dittberner <jandd@cacert.org>2018-01-14 14:25:41 +0100
commite5d0b9851433e078f0c5b0af015f8f64e1544239 (patch)
tree2720ea0c789560b4b6da4ecbdcf806e4474ae8c5 /templates/denied.html
parenta30a29a4e6d374f374693f4d16bbc951b6f957f4 (diff)
downloadcacert-boardvoting-e5d0b9851433e078f0c5b0af015f8f64e1544239.tar.gz
cacert-boardvoting-e5d0b9851433e078f0c5b0af015f8f64e1544239.tar.xz
cacert-boardvoting-e5d0b9851433e078f0c5b0af015f8f64e1544239.zip
Improve denied error page and output current authenticated user
Diffstat (limited to 'templates/denied.html')
-rw-r--r--templates/denied.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/denied.html b/templates/denied.html
index b8d8a3e..398a36f 100644
--- a/templates/denied.html
+++ b/templates/denied.html
@@ -4,6 +4,14 @@
<div class="header">You are not authorized to act here!</div>
<p>If you think this is in error, please contact the administrator.</p>
<p>If you don't know who that is, it is definitely not an error ;)</p>
+ {{ if .Emails }}
+ <p>The following addresses were present in your certificate:<p>
+ <ul>
+ {{ range .Emails }}
+ <li>{{ . }}</li>
+ {{ end }}
+ </ul>
+ {{ end }}
</div>
</div>
{{ template "footer" . }} \ No newline at end of file