mirror of
https://github.com/immich-app/immich
synced 2025-06-08 23:10:33 +00:00
fix(server): smtp certificate validation (#9506)
This commit is contained in:
parent
efb844c6cd
commit
581b467b4b
@ -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
|
||||
? {
|
||||
|
Loading…
x
Reference in New Issue
Block a user