mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-20 03:40:05 +08:00
fix(cloudreve): skip init login when using cookie (#4341)
This commit is contained in:
parent
b03879403f
commit
9502f5acd7
@ -27,6 +27,9 @@ func (d *Cloudreve) GetAddition() driver.Additional {
|
||||
}
|
||||
|
||||
func (d *Cloudreve) Init(ctx context.Context) error {
|
||||
if d.Cookie != "" {
|
||||
return nil
|
||||
}
|
||||
return d.login()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user