Use Semantic UI for all HTML templates
[cacert-boardvoting.git] / boardvoting.go
index 28278c0..c93709c 100644 (file)
@@ -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)