From 47b22f395042326c78099289c0e3892d4a744319 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Sat, 5 Jun 2021 12:19:48 +0200 Subject: [PATCH] Minor improvement on login --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index a66a6488..2d7dee79 100644 --- a/api.go +++ b/api.go @@ -136,7 +136,7 @@ func (h *Headscale) RegistrationHandler(c *gin.Context) { // The NodeKey we have matches OldNodeKey, which means this is a refresh after an key expiration if m.NodeKey == wgcfg.Key(req.OldNodeKey).HexString() { - log.Printf("[%s] We have the NodeKey in the database. This is a key refresh", m.Name) + log.Printf("[%s] We have the OldNodeKey in the database. This is a key refresh", m.Name) m.NodeKey = wgcfg.Key(req.NodeKey).HexString() db.Save(&m)