1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Update api.go

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Juan Font 2022-08-12 09:03:32 +02:00 committed by GitHub
parent f01a33491b
commit a261e27113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
api.go
View File

@ -234,9 +234,9 @@ func (h *Headscale) RegistrationHandler(
log.Debug().
Caller().
Str("machine", registerRequest.Hostinfo.Hostname).
Str("NodeKey", registerRequest.NodeKey.ShortString()).
Str("OldNodeKey", registerRequest.OldNodeKey.ShortString()).
Str("Followup", registerRequest.Followup).
Str("node_key", registerRequest.NodeKey.ShortString()).
Str("node_key_old", registerRequest.OldNodeKey.ShortString()).
Str("follow_up", registerRequest.Followup).
Msg("Machine is waiting for interactive login")
ticker := time.NewTicker(registrationHoldoff)