summaryrefslogtreecommitdiff
path: root/boardvoting.go
diff options
context:
space:
mode:
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)