mirror of
https://github.com/wiggin77/mailrelay.git
synced 2025-08-14 01:08:25 +02:00
Minimize PR
This commit is contained in:
@ -104,8 +104,8 @@ func handshake(client *smtp.Client, config *relayConfig, tlsConfig *tls.Config)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var auth smtp.Auth = nil
|
||||
|
||||
if config.LoginAuthType {
|
||||
auth = LoginAuth(config.Username, config.Password)
|
||||
} else if config.Username != "" {
|
||||
|
Reference in New Issue
Block a user