Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlabs committed Jan 9, 2025
1 parent c2cb240 commit 7324d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sso/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func startDeviceAuthorization(oidc ssooidciface.SSOOIDCAPI, rco *ssooidc.Registe
check(err)
zap.S().Warnf("Please verify your client request: %s", *sdao.VerificationUriComplete)

// skip opening it in a browser
// open it in a browser unless in headless mode
if !strings.Contains(strings.Join(os.Args, ","), "--headless") {
openUrlInBrowser(*sdao.VerificationUriComplete)
}
Expand Down

0 comments on commit 7324d3d

Please sign in to comment.