mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	setting: don't require same running user for internal SSH (like win platform) (#7215)
This commit is contained in:
		 Antoine GIRARD
					Antoine GIRARD
				
			
				
					committed by
					
						 Lunny Xiao
						Lunny Xiao
					
				
			
			
				
	
			
			
			 Lunny Xiao
						Lunny Xiao
					
				
			
						parent
						
							cde410521c
						
					
				
				
					commit
					273f1997ff
				
			| @@ -438,7 +438,7 @@ func forcePathSeparator(path string) { | ||||
| // This check is ignored under Windows since SSH remote login is not the main | ||||
| // method to login on Windows. | ||||
| func IsRunUserMatchCurrentUser(runUser string) (string, bool) { | ||||
| 	if IsWindows { | ||||
| 	if IsWindows || SSH.StartBuiltinServer { | ||||
| 		return "", true | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user