mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Add comment
This commit is contained in:
		
							parent
							
								
									ef422e6988
								
							
						
					
					
						commit
						1f8c7f427b
					
				
							
								
								
									
										3
									
								
								oidc.go
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								oidc.go
									
									
									
									
									
								
							@ -218,6 +218,9 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// retrieve machine information if it exist
 | 
			
		||||
	// The error is not important, because if it does not
 | 
			
		||||
	// exist, then this is a new machine and we will move
 | 
			
		||||
	// on to registration.
 | 
			
		||||
	machine, _ := h.GetMachineByMachineKey(machineKey)
 | 
			
		||||
 | 
			
		||||
	if machine != nil {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user