Skip to content

Commit

Permalink
Update e ref to branch/v15; Add missing changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Oct 31, 2024
1 parent ada03ba commit 1c6aca5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e
Submodule e updated from 456398 to af339e
6 changes: 4 additions & 2 deletions lib/client/weblogin.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,8 @@ func SSHAgentMFALogin(ctx context.Context, login SSHLoginMFA) (*authclient.SSHLo

promptMFA := login.PromptMFA
if promptMFA == nil {
promptMFA = libmfa.NewCLIPrompt(libmfa.NewPromptConfig(login.ProxyAddr), os.Stderr)
cfg := libmfa.NewPromptConfig(login.ProxyAddr)
promptMFA = libmfa.NewCLIPrompt(&libmfa.CLIPromptConfig{PromptConfig: *cfg})
}

respPB, err := promptMFA.Run(ctx, chal)
Expand Down Expand Up @@ -856,7 +857,8 @@ func SSHAgentMFAWebSessionLogin(ctx context.Context, login SSHLoginMFA) (*WebCli

promptMFA := login.PromptMFA
if promptMFA == nil {
promptMFA = libmfa.NewCLIPrompt(libmfa.NewPromptConfig(login.ProxyAddr), os.Stderr)
cfg := libmfa.NewPromptConfig(login.ProxyAddr)
promptMFA = libmfa.NewCLIPrompt(&libmfa.CLIPromptConfig{PromptConfig: *cfg})
}

respPB, err := promptMFA.Run(ctx, chal)
Expand Down

0 comments on commit 1c6aca5

Please sign in to comment.