🐛 Remove specific ciphers in tls config (#1065)

This causes issues with my SMTP servers
This commit is contained in:
Luke Vella 2024-03-16 12:10:11 +07:00 committed by GitHub
parent 90f0d90fab
commit 2192ef18cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,13 +169,9 @@ export class EmailClient {
pass: process.env["SMTP_PWD"], pass: process.env["SMTP_PWD"],
} }
: undefined, : undefined,
tls: tls: {
process.env["SMTP_TLS_ENABLED"] === "true" rejectUnauthorized: process.env["SMTP_TLS_ENABLED"] === "true",
? { },
ciphers: "SSLv3",
rejectUnauthorized: false,
}
: undefined,
}); });
break; break;
} }