Skip to content

Commit

Permalink
hotfix: parse the mail secure env variable (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia authored Apr 24, 2024
1 parent 7abfa6a commit 7e5c6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = {
mail: {
host: process.env.MAIL_HOST,
port: process.env.MAIL_PORT,
secure: !!parseInt(process.env.MAIL_SECURE, 10),
secure: parseBoolean(defaultTo(process.env.MAIL_SECURE, false), false),
username: process.env.MAIL_USERNAME,
password: process.env.MAIL_PASSWORD,
from: process.env.MAIL_FROM_ADDRESS,
Expand Down

0 comments on commit 7e5c6b6

Please sign in to comment.