mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
commit
1579ffb66a
1 changed files with 0 additions and 2 deletions
2
app.go
2
app.go
|
@ -409,8 +409,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().
|
||||
|
|
Loading…
Reference in a new issue