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…
x
Reference in New Issue
Block a user