Skip to content

Commit 770b121

Browse files
committed
change another cli->client callback mode
1 parent ecf8daa commit 770b121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (*api.Secret, erro
127127
}
128128
} else {
129129
if state != "" {
130-
return nil, errors.New("state returned in cli callback mode, try direct")
130+
return nil, errors.New("state returned in client callback mode, try direct")
131131
}
132132
if pollInterval != "" {
133-
return nil, errors.New("poll_interval returned in cli callback mode")
133+
return nil, errors.New("poll_interval returned in client callback mode")
134134
}
135135
// Set up callback handler
136136
http.HandleFunc("/oidc/callback", callbackHandler(c, mount, clientNonce, doneCh))

0 commit comments

Comments
 (0)