diff --git a/drivers/cloudreve/driver.go b/drivers/cloudreve/driver.go index bb581d29..b0cc248e 100644 --- a/drivers/cloudreve/driver.go +++ b/drivers/cloudreve/driver.go @@ -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() }