debug logging
This commit is contained in:
parent
95de823b72
commit
eda6e560c3
1 changed files with 1 additions and 0 deletions
1
api.go
1
api.go
|
@ -445,6 +445,7 @@ func (h *Headscale) handleAuthKey(c *gin.Context, db *gorm.DB, idKey wgkey.Key,
|
|||
log.Println(err)
|
||||
return
|
||||
}
|
||||
log.Printf("Assigning %s to %s", ip, m.Name)
|
||||
|
||||
m.AuthKeyID = uint(pak.ID)
|
||||
m.IPAddress = ip.String()
|
||||
|
|
Loading…
Reference in a new issue