From 029d4555b28060cd7fc6e6df7636cbbb30154604 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sat, 27 Feb 2021 09:06:30 +0100 Subject: [PATCH] Fix --- authentication.go | 1 - 1 file changed, 1 deletion(-) diff --git a/authentication.go b/authentication.go index 0a39555..eff192d 100644 --- a/authentication.go +++ b/authentication.go @@ -42,7 +42,6 @@ func authMiddleware(next http.Handler) http.Handler { return } // 3. Show login form - w.WriteHeader(http.StatusOK) w.Header().Set("Cache-Control", "no-cache,no-store,must-revalidate") h, _ := json.Marshal(r.Header.Clone()) b, _ := io.ReadAll(io.LimitReader(r.Body, 2000000)) // Only allow 20 Megabyte