Merge pull request #7091 from ulfjack/patch-1
Print the login URL even when opening a browser
This commit is contained in:
commit
d645fd4f00
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ func AuthFlow(oauthHost string, IO *iostreams.IOStreams, notice string, addition
|
|||
return nil
|
||||
}
|
||||
|
||||
fmt.Fprintf(w, "%s to open %s in your browser... ", cs.Bold("Press Enter"), oauthHost)
|
||||
fmt.Fprintf(w, "%s to open %s in your browser... ", cs.Bold("Press Enter"), authURL)
|
||||
_ = waitForEnter(IO.In)
|
||||
|
||||
if err := b.Browse(authURL); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue