Skip to content

Commit 5bf17b4

Browse files
remove commented code
1 parent 261848d commit 5bf17b4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

oidc.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,10 @@ func (v *Client) AuthOIDCMount(mount string) (ret *AuthOutput, err error) {
6262
}
6363
defer listener.Close()
6464

65-
//// Open the default browser to the callback URL.
66-
//if !skipBrowserLaunch {
6765
fmt.Fprintf(os.Stderr, "Complete the login via your OIDC provider. Launching browser to:\n\n %s\n\n\n", authURL)
6866
if err := util.OpenURL(authURL); err != nil {
6967
return nil, fmt.Errorf("failed to launch the browser , err=%w", err)
7068
}
71-
//} else {
72-
// fmt.Fprintf(os.Stderr, "Complete the login via your OIDC provider. Open the following link in your browser:\n\n %s\n\n\n", authURL)
73-
//}
7469
fmt.Fprintf(os.Stderr, "Waiting for OIDC authentication to complete...\n")
7570

7671
// Start local server

0 commit comments

Comments
 (0)