Use mailcatcher by default.

This commit is contained in:
2025-12-27 22:44:06 +01:00
parent f1d8bae6a1
commit c0cca71b74
2 changed files with 13 additions and 11 deletions
+5 -5
View File
@@ -10,10 +10,10 @@ class Config:
# Flask settings
SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')
# Email settings
MAIL_SERVER = os.getenv('MAIL_SERVER', 'smtp.gmail.com')
MAIL_PORT = int(os.getenv('MAIL_PORT', 587))
MAIL_USE_TLS = os.getenv('MAIL_USE_TLS', 'True') == 'True'
# Email settings (defaults configured for mailcatcher)
MAIL_SERVER = os.getenv('MAIL_SERVER', 'localhost')
MAIL_PORT = int(os.getenv('MAIL_PORT', 1025))
MAIL_USE_TLS = os.getenv('MAIL_USE_TLS', 'False') == 'True'
MAIL_USERNAME = os.getenv('MAIL_USERNAME')
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER', 'noreply@example.com')
@@ -22,7 +22,7 @@ class Config:
COMPANY_NAME = os.getenv('COMPANY_NAME', 'Unser Unternehmen')
# HR notification settings
HR_EMAIL = os.getenv('HR_EMAIL')
HR_EMAIL = os.getenv('HR_EMAIL', 'hr@example.com')
APPLICATION_URL_BASE = os.getenv('APPLICATION_URL_BASE', 'http://localhost:5000')
# Application settings