Skip to content

Commit

Permalink
Remove unused field, fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Oct 25, 2024
1 parent 9b4ce69 commit fb1c62e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions lib/client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,6 @@ type Config struct {
// If empty, a default CLI prompt is used.
CustomHardwareKeyPrompt keys.HardwareKeyPrompt

// SSOCeremonyConstructor is a custom SSO ceremony constructor to use.
SSOCeremonyConstructor func() *sso.Ceremony

// DisableSSHResumption disables transparent SSH connection resumption.
DisableSSHResumption bool

Expand Down
5 changes: 3 additions & 2 deletions lib/client/cluster_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,9 @@ func TestIssueUserCertsWithMFA(t *testing.T) {
tc: &TeleportClient{
localAgent: agent,
Config: Config{
SiteName: "test",
Tracer: tracing.NoopTracer("test"),
WebProxyAddr: "proxy.example.com",
SiteName: "test",
Tracer: tracing.NoopTracer("test"),
MFAPromptConstructor: func(cfg *libmfa.PromptConfig) mfa.Prompt {
return test.prompt
},
Expand Down

0 comments on commit fb1c62e

Please sign in to comment.