mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-26 21:51:03 +01:00 
			
		
		
		
	debug logging
This commit is contained in:
		
							parent
							
								
									95de823b72
								
							
						
					
					
						commit
						eda6e560c3
					
				
							
								
								
									
										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) | 		log.Println(err) | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
|  | 	log.Printf("Assigning %s to %s", ip, m.Name) | ||||||
| 
 | 
 | ||||||
| 	m.AuthKeyID = uint(pak.ID) | 	m.AuthKeyID = uint(pak.ID) | ||||||
| 	m.IPAddress = ip.String() | 	m.IPAddress = ip.String() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user