Minimize PR

This commit is contained in:
Nicolai Langfeldt
2025-04-25 13:27:50 +02:00
parent 6d85d463c4
commit 836bddeca8
2 changed files with 2 additions and 2 deletions

View File

@ -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 != "" {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/wiggin77/mailrelay@v1.04
module github.com/wiggin77/mailrelay
go 1.14