Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger authored and github-actions committed Jun 13, 2024
1 parent aa45431 commit 87758b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/auth/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 87758b4

Please sign in to comment.