oauthutil: tell the user they should try again if the webserver method failed

This commit is contained in:
Nick Craig-Wood 2015-09-30 15:04:02 +01:00
parent 9f1daabb2c
commit 852acd5e4e
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ client_secret>
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
* Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> y

View File

@ -73,7 +73,7 @@ Remote config
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
* Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> y

View File

@ -195,7 +195,7 @@ func Config(name string, config *oauth2.Config) error {
case TitleBarRedirectURL:
fmt.Printf("Use auto config?\n")
fmt.Printf(" * Say Y if not sure\n")
fmt.Printf(" * Say N if you are working on a remote or headless machine\n")
fmt.Printf(" * Say N if you are working on a remote or headless machine or Y didn't work\n")
useWebServer = fs.Confirm()
// copy the config and set to use the internal webserver
configCopy := *config