Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Mar 2, 2022
1 parent ef422e6 commit 1f8c7f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
}

// retrieve machine information if it exist
// The error is not important, because if it does not
// exist, then this is a new machine and we will move
// on to registration.
machine, _ := h.GetMachineByMachineKey(machineKey)

if machine != nil {
Expand Down

0 comments on commit 1f8c7f4

Please sign in to comment.