Simple webDAV auth implementation (#82)
This commit is contained in:
parent
f6e155f07e
commit
02842b1917
5 changed files with 25 additions and 4 deletions
cmd/distribyted
|
@ -161,7 +161,7 @@ func load(configPath string, port, webDAVPort int, fuseAllowOther bool) error {
|
|||
return
|
||||
}
|
||||
|
||||
if err := webdav.NewWebDAVServer(cfs, port); err != nil {
|
||||
if err := webdav.NewWebDAVServer(cfs, port, conf.WebDAV.User, conf.WebDAV.Pass); err != nil {
|
||||
log.Error().Err(err).Msg("error starting webDAV")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue