Simple webDAV auth implementation (#82)
This commit is contained in:
parent
f6e155f07e
commit
02842b1917
5 changed files with 25 additions and 4 deletions
|
@ -20,6 +20,8 @@ func DefaultConfig() *Root {
|
|||
},
|
||||
WebDAV: &WebDAVGlobal{
|
||||
Port: 36911,
|
||||
User: "admin",
|
||||
Pass: "admin",
|
||||
},
|
||||
Torrent: &TorrentGlobal{
|
||||
GlobalCacheSize: 1024,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue