From 73e3bb09d71c31814e00ebcad2eec9be3b74ccf0 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Fri, 24 Jun 2022 23:13:12 +0200 Subject: [PATCH] http: fix missing response when using custom auth handler --- lib/http/auth/basic.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/http/auth/basic.go b/lib/http/auth/basic.go index b2a2c658b..69907c009 100644 --- a/lib/http/auth/basic.go +++ b/lib/http/auth/basic.go @@ -113,6 +113,7 @@ func CustomAuth(fn CustomAuthFn, realm string) httplib.Middleware { if value != nil { r = r.WithContext(context.WithValue(r.Context(), ContextAuthKey, value)) } + next.ServeHTTP(w, r) } }) }