Update email-handler.ts to remove default SMTP configuration values
- Cleared default values for SMTP environment variables in email-handler.ts to enhance security and ensure sensitive information is not hardcoded. - This change encourages the use of environment-specific configurations for better deployment practices.
This commit is contained in:
@@ -7,12 +7,12 @@ import path from 'path';
|
||||
|
||||
// Environment variables
|
||||
const {
|
||||
SMTP_HOST = 'mailcowdockerized-postfix-mailcow-1',
|
||||
SMTP_PORT = '587',
|
||||
SMTP_USER = 'test@devnet365.eu',
|
||||
SMTP_PASS = 'Liable7-Flavored6-Path0-Diligent0-Fragrant7',
|
||||
ADMIN_EMAIL = 'info@devnet365.eu',
|
||||
WEBSITE_NAME = '365DevNet Support',
|
||||
SMTP_HOST = '',
|
||||
SMTP_PORT = '',
|
||||
SMTP_USER = '',
|
||||
SMTP_PASS = '',
|
||||
ADMIN_EMAIL = '',
|
||||
WEBSITE_NAME = '',
|
||||
} = process.env;
|
||||
|
||||
// Email configuration
|
||||
|
||||
Reference in New Issue
Block a user