Skip to content

Commit

Permalink
debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Aug 2, 2021
1 parent 95de823 commit eda6e56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eda6e56

Please sign in to comment.