Cleanup some unreachable code
This commit is contained in:
parent
379017602c
commit
82cb6b9ddc
2 changed files with 1 additions and 24 deletions
2
oidc.go
2
oidc.go
|
@ -215,7 +215,7 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
// retrieve machine information
|
||||
// retrieve machine information if it exist
|
||||
machine, err := h.GetMachineByMachineKey(machineKey)
|
||||
if err != nil {
|
||||
log.Error().Msg("machine key not found in database")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue