mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-26 00:17:48 +00:00
Switch to using nodeKey instead of machineKey for expired machines registration
Signed-off-by: Laurent Marchaud <laurent@marchaud.com>
This commit is contained in:
@@ -803,7 +803,7 @@ func (h *Headscale) RegisterMachineFromAuthCallback(
|
||||
)
|
||||
|
||||
if err == nil {
|
||||
h.registrationCache.Delete(machineKeyStr)
|
||||
h.registrationCache.Delete(nodeKeyStr)
|
||||
}
|
||||
|
||||
return machine, err
|
||||
|
Reference in New Issue
Block a user