mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
Return the correct error on cache miss
This commit is contained in:
parent
4034fbc6e9
commit
613d29478d
2
oidc.go
2
oidc.go
@ -451,7 +451,7 @@ func (h *Headscale) validateMachineForOIDCCallback(
|
|||||||
Msg("Failed to write response")
|
Msg("Failed to write response")
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, false, errOIDCInvalidMachineState
|
return nil, false, errOIDCNodeKeyMissing
|
||||||
}
|
}
|
||||||
|
|
||||||
var nodeKey key.NodePublic
|
var nodeKey key.NodePublic
|
||||||
|
Loading…
Reference in New Issue
Block a user