Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

http: fix missing response when using custom auth handler

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