http: fix missing response when using custom auth handler

This commit is contained in:
albertony committed 2022-07-02 15:29:50 +02:00
1 parent 7e7a8a95e9
commit 73e3bb09d7
1 file changed
+1
+1
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)
}
})
}