1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(server): smtp certificate validation (#9506)

This commit is contained in:
Michel Heusschen 2024-05-15 13:21:35 +02:00 committed by GitHub
parent efb844c6cd
commit 581b467b4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ export class NotificationRepository implements INotificationRepository {
return createTransport({ return createTransport({
host: options.host, host: options.host,
port: options.port, port: options.port,
tls: { rejectUnauthorized: options.ignoreCert }, tls: { rejectUnauthorized: !options.ignoreCert },
auth: auth:
options.username || options.password options.username || options.password
? { ? {