Commit 69178b8246ba6b2d9633653d24aa7dc21a074e56

Authored by Marko Tikvić
1 parent 65d214f47d
Exists in master

changed middleware

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
middleware/main.go
... ... @@ -12,7 +12,7 @@ func AuthUser(roles string, h http.HandlerFunc) http.HandlerFunc {
12 12 return SetAccessControlHeaders(IgnoreOptionsRequests(ParseForm(Auth(roles, h))))
13 13 }
14 14  
15   -func AuthUserLogTraffic(roles string, h http.HandlerFunc) http.HandlerFunc {
  15 +func AuthUserAndLog(roles string, h http.HandlerFunc) http.HandlerFunc {
16 16 return SetAccessControlHeaders(IgnoreOptionsRequests(ParseForm(LogHTTP(Auth(roles, h)))))
17 17 }
18 18  
... ...