forked from TrueCloudLab/rclone
http: fix missing response when using custom auth handler
This commit is contained in:
parent
7e7a8a95e9
commit
73e3bb09d7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue