Skip to content

Commit

Permalink
fix: pentest emails (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
moroine authored Dec 12, 2023
1 parent 41b2e10 commit 6783023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/services/mailer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const htmlToText = nodemailerHtmlToText.htmlToText
const renderFile: (path: string, data: Data) => Promise<string> = promisify(ejs.renderFile)

const createTransporter = (): Transporter => {
const needAuthentication = config.env === "production"
const needAuthentication = config.env === "production" || config.env === "pentest"

const options: SMTPTransport.Options = {
host: config.smtp.host,
Expand Down

0 comments on commit 6783023

Please sign in to comment.