mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 12:53:43 +01:00 
			
		
		
		
	Remove standard mailer port lines
This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given.
This commit is contained in:
		
							parent
							
								
									b231b8c927
								
							
						
					
					
						commit
						007cf33e88
					
				@ -73,10 +73,6 @@ func sendMail(settings *setting.Mailer, from string, recipients []string, msgCon
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if len(port) == 0 {
 | 
			
		||||
		port = "587"
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tlsconfig := &tls.Config{
 | 
			
		||||
		InsecureSkipVerify: settings.SkipVerify,
 | 
			
		||||
		ServerName:         host,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user