From 581b467b4be9a31cb7916823c9f1a252092e16cf Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Wed, 15 May 2024 13:21:35 +0200 Subject: [PATCH] fix(server): smtp certificate validation (#9506) --- server/src/repositories/notification.repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? {