From 69178b8246ba6b2d9633653d24aa7dc21a074e56 Mon Sep 17 00:00:00 2001 From: "marko.tikvic" Date: Thu, 5 Sep 2019 12:06:23 +0200 Subject: [PATCH] changed middleware --- middleware/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/main.go b/middleware/main.go index 8c1da43..720e570 100644 --- a/middleware/main.go +++ b/middleware/main.go @@ -12,7 +12,7 @@ func AuthUser(roles string, h http.HandlerFunc) http.HandlerFunc { return SetAccessControlHeaders(IgnoreOptionsRequests(ParseForm(Auth(roles, h)))) } -func AuthUserLogTraffic(roles string, h http.HandlerFunc) http.HandlerFunc { +func AuthUserAndLog(roles string, h http.HandlerFunc) http.HandlerFunc { return SetAccessControlHeaders(IgnoreOptionsRequests(ParseForm(LogHTTP(Auth(roles, h))))) } -- 1.8.1.2