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

This commit is contained in:
Raymond Hackley 2023-07-23 06:45:05 +00:00 committed by GitHub
parent 9058a829a1
commit 5ccf2d23fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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