Skip to content

Commit

Permalink
Fix: SMTP notification "Ignore TLS Error" option (#2999) (#3465)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderfulShrineMaidenOfParadise committed Jul 23, 2023
1 parent 9058a82 commit 5ccf2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/notification-providers/smtp.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SMTP extends NotificationProvider {
port: notification.smtpPort,
secure: notification.smtpSecure,
tls: {
rejectUnauthorized: notification.smtpIgnoreTLSError || false,
rejectUnauthorized: !notification.smtpIgnoreTLSError || false,
}
};

Expand Down

0 comments on commit 5ccf2d2

Please sign in to comment.