Add comment

This commit is contained in:
Kristoffer Dalby 2022-03-02 07:29:40 +00:00
parent ef422e6988
commit 1f8c7f427b

View file

@ -218,6 +218,9 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
} }
// retrieve machine information if it exist // 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) machine, _ := h.GetMachineByMachineKey(machineKey)
if machine != nil { if machine != nil {