Use new logic and fields for dns
This commit is contained in:
parent
6b79679cb4
commit
14994cb6cc
3 changed files with 54 additions and 64 deletions
2
oidc.go
2
oidc.go
|
@ -231,7 +231,7 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
|||
if machine != nil {
|
||||
log.Trace().
|
||||
Caller().
|
||||
Str("machine", machine.Name).
|
||||
Str("machine", machine.Hostname).
|
||||
Msg("machine already registered, reauthenticating")
|
||||
|
||||
h.RefreshMachine(machine, time.Time{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue