diff --git a/app.go b/app.go index 177c3ee1..0e10b3fb 100644 --- a/app.go +++ b/app.go @@ -410,8 +410,6 @@ func (h *Headscale) httpAuthenticationMiddleware(ctx *gin.Context) { return } - ctx.AbortWithStatus(http.StatusUnauthorized) - valid, err := h.ValidateAPIKey(strings.TrimPrefix(authHeader, AuthPrefix)) if err != nil { log.Error().