Skip to content

Commit 58a4b77

Browse files
authored
fix: log browser url to stderr instead of stdout (#1136)
fixes #1125
1 parent 6a53617 commit 58a4b77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/auth/user_login.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ func AuthorizeUser(p *print.Printer, isReauthentication bool) error {
245245
}
246246

247247
// Print the link
248-
p.Outputln("Your browser has been opened to visit:\n")
249-
p.Outputf("%s\n\n", authorizationURL)
248+
p.Info("Your browser has been opened to visit:\n\n")
249+
p.Info("%s\n\n", authorizationURL)
250250

251251
// Start the blocking web server loop
252252
// It will exit when the handlers get fired and call server.Close()

0 commit comments

Comments
 (0)