summaryrefslogtreecommitdiff
path: root/boardvoting.go
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-04-30 02:37:29 +0200
committerJan Dittberner <jan@dittberner.info>2017-04-30 02:37:29 +0200
commitc48bd9e356f16fcf8c14f7c6e34aec2469fe51bb (patch)
tree96738ad2795834c46dddcc7d96a7099a8cbf22bf /boardvoting.go
parent1c989fdfa3d15b35342d439bcb3fbab894b6d46c (diff)
downloadcacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.tar.gz
cacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.tar.xz
cacert-boardvoting-c48bd9e356f16fcf8c14f7c6e34aec2469fe51bb.zip
Use Semantic UI for all HTML templates0.2.0
Diffstat (limited to 'boardvoting.go')
-rw-r--r--boardvoting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/boardvoting.go b/boardvoting.go
index 28278c0..c93709c 100644
--- a/boardvoting.go
+++ b/boardvoting.go
@@ -79,7 +79,7 @@ func authenticateRequest(w http.ResponseWriter, r *http.Request, handler func(ht
needsAuth, ok := r.Context().Value(ctxNeedsAuth).(bool)
if ok && needsAuth {
w.WriteHeader(http.StatusForbidden)
- renderTemplate(w, []string{"denied.html"}, nil)
+ renderTemplate(w, []string{"denied.html", "header.html", "footer.html"}, nil)
return
}
handler(w, r)