From 87758b490bdde8425a670ef43d9f1b0f045d24ba Mon Sep 17 00:00:00 2001 From: joerger Date: Wed, 12 Jun 2024 12:51:44 -0700 Subject: [PATCH] Fix lint. --- lib/auth/methods.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/auth/methods.go b/lib/auth/methods.go index d3e3228721687..565e805fbcec7 100644 --- a/lib/auth/methods.go +++ b/lib/auth/methods.go @@ -198,9 +198,6 @@ func (a *Server) emitAuthAuditEvent(ctx context.Context, props authAuditProps) e } var ( - // authenticateHeadlessError is the generic error returned for failed headless - // authentication attempts. - authenticateHeadlessError = &trace.AccessDeniedError{Message: "headless authentication failed"} // authenticateWebauthnError is the generic error returned for failed WebAuthn // authentication attempts. authenticateWebauthnError = &trace.AccessDeniedError{Message: "invalid credentials"}