feat: add email diagnostics
This commit is contained in:
@@ -22,6 +22,14 @@ export const env = {
|
||||
smsApiKey: process.env.ACS_SMS_API_KEY,
|
||||
smsSender: process.env.ACS_SMS_SENDER,
|
||||
smsTimeoutMs: Number(process.env.ACS_SMS_TIMEOUT_MS ?? 10000),
|
||||
mailHost: process.env.ACS_MAIL_HOST,
|
||||
mailPort: Number(process.env.ACS_MAIL_PORT ?? 25),
|
||||
mailFrom: process.env.ACS_MAIL_FROM,
|
||||
mailUsername: process.env.ACS_MAIL_USERNAME,
|
||||
mailPassword: process.env.ACS_MAIL_PASSWORD,
|
||||
mailSmtpAuth: (process.env.ACS_MAIL_SMTP_AUTH ?? '').toLowerCase() === 'true',
|
||||
mailStartTls: (process.env.ACS_MAIL_STARTTLS ?? '').toLowerCase() === 'true',
|
||||
mailTimeoutMs: Number(process.env.ACS_MAIL_TIMEOUT_MS ?? 10000),
|
||||
cookieSecure:
|
||||
(process.env.ACS_COOKIE_SECURE ?? '').toLowerCase() === 'true' ||
|
||||
(process.env.ACS_PUBLIC_BASE_URL ?? '').startsWith('https://'),
|
||||
|
||||
Reference in New Issue
Block a user