mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 12:49:43 +02:00
parent
3deef39a3e
commit
3b43d7d2c9
4 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@ module.exports = function defineSmtpHook(sails) {
|
|||
pool: true,
|
||||
host: sails.config.custom.smtpHost,
|
||||
port: sails.config.custom.smtpPort,
|
||||
name: sails.config.custom.smtpName,
|
||||
secure: sails.config.custom.smtpSecure,
|
||||
auth: sails.config.custom.smtpUser && {
|
||||
user: sails.config.custom.smtpUser,
|
||||
|
|
|
@ -54,6 +54,7 @@ module.exports.custom = {
|
|||
|
||||
smtpHost: process.env.SMTP_HOST,
|
||||
smtpPort: process.env.SMTP_PORT || 587,
|
||||
smtpName: process.env.SMTP_NAME,
|
||||
smtpSecure: process.env.SMTP_SECURE === 'true',
|
||||
smtpUser: process.env.SMTP_USER,
|
||||
smtpPassword: process.env.SMTP_PASSWORD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue