From c87db1dfe6ed70e9834c9f7d4a9079d52b1d6d3c Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 18 Aug 2023 14:03:52 +0200 Subject: [PATCH] login for all Methods --- cmd/cc-backend/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cc-backend/main.go b/cmd/cc-backend/main.go index 5a50dce..93786ca 100644 --- a/cmd/cc-backend/main.go +++ b/cmd/cc-backend/main.go @@ -376,7 +376,7 @@ func main() { Status: http.StatusText(http.StatusForbidden), Error: err.Error(), }) - })).Methods(http.MethodGet) + })) r.Handle("/logout", authentication.Logout( http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {