dropbox: fix oauth configuration

This was broken in c59a292719
This commit is contained in:
Nick Craig-Wood 2017-06-14 16:46:46 +01:00
parent 68333d34a1
commit 1e88f0702a
2 changed files with 16 additions and 2 deletions

View file

@ -75,7 +75,7 @@ func init() {
Description: "Dropbox",
NewFs: NewFs,
Config: func(name string) {
err := oauthutil.Config("dropbox", name, dropboxConfig)
err := oauthutil.ConfigNoOffline("dropbox", name, dropboxConfig)
if err != nil {
log.Fatalf("Failed to configure token: %v", err)
}