mirror of
https://github.com/wiggin77/mailrelay.git
synced 2025-08-14 09:18: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
|
var auth smtp.Auth = nil
|
||||||
|
|
||||||
if config.LoginAuthType {
|
if config.LoginAuthType {
|
||||||
auth = LoginAuth(config.Username, config.Password)
|
auth = LoginAuth(config.Username, config.Password)
|
||||||
} else if config.Username != "" {
|
} else if config.Username != "" {
|
||||||
|
Reference in New Issue
Block a user