backend (backblaze): remove application key from hash calculation

This commit is contained in:
Mickael Kerjean 2020-06-24 00:07:51 +10:00
parent 5eeb22a559
commit d249ed2b0a

View file

@ -103,6 +103,7 @@ func (this Backblaze) Init(params map[string]string, app *App) (IBackend, error)
for i := range buckets.Buckets {
this.Buckets[buckets.Buckets[i].BucketName] = buckets.Buckets[i].BucketId
}
delete(params, "password")
BackblazeCache.Set(params, &this)
return this, nil
}