Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lowercasename authored Jul 27, 2024
2 parents 75bec0e + af92fcd commit 06f66d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export const initEmailService = async (): Promise<boolean> => {
user: config.nodemailer?.smtp_username,
pass: config.nodemailer?.smtp_password,
},
tls: {
// do not fail on invalid certs
rejectUnauthorized: false,
},
} as SMTPTransport.Options;
const nodemailerTransporter =
nodemailer.createTransport(nodemailerConfig);
Expand Down

0 comments on commit 06f66d3

Please sign in to comment.