You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-07 16:02:54 +03:00
Rename function
This commit is contained in:
@@ -148,7 +148,7 @@ func doLoginIfNeeded(ctx *cli.Context, subject string) error {
|
||||
// NOTE: For OIDC tokens the subject should always be the email. The
|
||||
// provisioner is responsible for loading and setting the principals with
|
||||
// the application of an Identity function.
|
||||
if email, ok := tokenHasEmail(token); ok {
|
||||
if email, ok := tokenEmail(token); ok {
|
||||
subject = email
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user