Fix: SMTP notification "Ignore TLS Error" option (#2999) (#3465)

pull/3119/head
Raymond Hackley 10 months ago committed by GitHub
parent 9058a829a1
commit 5ccf2d23fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ class SMTP extends NotificationProvider {
port: notification.smtpPort,
secure: notification.smtpSecure,
tls: {
rejectUnauthorized: notification.smtpIgnoreTLSError || false,
rejectUnauthorized: !notification.smtpIgnoreTLSError || false,
}
};

Loading…
Cancel
Save