feat(cloudreve): support use cookie to login (close #4324 in #4339)

Co-authored-by: Andy Hsu <i@nn.ci>
This commit is contained in:
Xi Wuuuuuuuuuuuu~~~~~~~~~~~~~~~
2023-05-08 15:19:51 +08:00
committed by GitHub
parent ee4ac81677
commit b03879403f
3 changed files with 10 additions and 8 deletions

View File

@ -10,8 +10,9 @@ type Addition struct {
driver.RootPath
// define other
Address string `json:"address" required:"true"`
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
Username string `json:"username"`
Password string `json:"password"`
Cookie string `json:"cookie"`
}
var config = driver.Config{