Sync with golang/oauth2 (Fix #6)
This commit is contained in:
parent
67aa2e3d8c
commit
348b447074
|
@ -239,7 +239,7 @@ func (db *Dropbox) Auth() error {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
fmt.Printf("Please visit:\n%s\nEnter the code: ",
|
fmt.Printf("Please visit:\n%s\nEnter the code: ",
|
||||||
db.config.AuthCodeURL(""))
|
db.config.AuthCodeURL("", "", ""))
|
||||||
fmt.Scanln(&code)
|
fmt.Scanln(&code)
|
||||||
if t, err = db.config.NewTransportWithCode(code); err != nil {
|
if t, err = db.config.NewTransportWithCode(code); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Reference in New Issue
Block a user