1
0
mirror of https://github.com/axllent/mailpit.git synced 2024-12-26 22:56:43 +02:00

Fix error casing

This commit is contained in:
Ralph Slooten 2022-12-15 22:09:03 +13:00
parent 0502056678
commit b18bcebd51

View File

@ -117,7 +117,7 @@ func VerifyConfig() error {
}
if UISSLCert != "" && UISSLKey == "" || UISSLCert == "" && UISSLKey != "" {
return errors.New("you must provide both a UI SSL certificate and a key")
return errors.New("You must provide both a UI SSL certificate and a key")
}
if UISSLCert != "" {
@ -131,7 +131,7 @@ func VerifyConfig() error {
}
if SMTPSSLCert != "" && SMTPSSLKey == "" || SMTPSSLCert == "" && SMTPSSLKey != "" {
return errors.New("you must provide both an SMTP SSL certificate and a key")
return errors.New("You must provide both an SMTP SSL certificate and a key")
}
if SMTPSSLCert != "" {