Simple webDAV auth implementation ()

This commit is contained in:
Antonio Navarro Perez 2021-10-11 18:50:18 +02:00 committed by GitHub
parent f6e155f07e
commit 02842b1917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 4 deletions

View file

@ -20,6 +20,8 @@ func DefaultConfig() *Root {
},
WebDAV: &WebDAVGlobal{
Port: 36911,
User: "admin",
Pass: "admin",
},
Torrent: &TorrentGlobal{
GlobalCacheSize: 1024,

View file

@ -17,7 +17,9 @@ type TorrentGlobal struct {
}
type WebDAVGlobal struct {
Port int `yaml:"port"`
Port int `yaml:"port"`
User string `yaml:"user"`
Pass string `yaml:"pass"`
}
type HTTPGlobal struct {