http: fix missing response when using custom auth handler

This commit is contained in:
albertony 2022-06-24 23:13:12 +02:00
parent 7e7a8a95e9
commit 73e3bb09d7

View File

@ -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)
}
})
}