mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
http: fix missing response when using custom auth handler
This commit is contained in:
parent
7e7a8a95e9
commit
73e3bb09d7
@ -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 New Issue
Block a user