From 9a85327978ee0839465399c0523611ea2271378e Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Sun, 2 Nov 2025 01:36:51 +0100 Subject: [PATCH] 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. --- src/utils/email-handler.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utils/email-handler.ts b/src/utils/email-handler.ts index 0b69134..63f0b35 100644 --- a/src/utils/email-handler.ts +++ b/src/utils/email-handler.ts @@ -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