diff --git a/server/src/repositories/notification.repository.ts b/server/src/repositories/notification.repository.ts index 23c81bb77b..e22198de80 100644 --- a/server/src/repositories/notification.repository.ts +++ b/server/src/repositories/notification.repository.ts @@ -59,7 +59,7 @@ export class NotificationRepository implements INotificationRepository { return createTransport({ host: options.host, port: options.port, - tls: { rejectUnauthorized: options.ignoreCert }, + tls: { rejectUnauthorized: !options.ignoreCert }, auth: options.username || options.password ? {