Fix: SMTP_SUPPORT_PASS Fallback in mailer, scaninput Logging

This commit is contained in:
rene 2026-05-15 11:29:16 +02:00
parent 41a4808ad5
commit a2d089bce4
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@ BREVO_API_URL = "https://api.brevo.com/v3/smtp/email"
SMTP_HOST = os.getenv("SMTP_HOST", "")
SMTP_PORT = int(os.getenv("SMTP_PORT", "587"))
SMTP_USER = os.getenv("SMTP_USER", "")
SMTP_PASS = os.getenv("SMTP_PASS", "")
SMTP_PASS = os.getenv("SMTP_PASS", "") or os.getenv("SMTP_SUPPORT_PASS", "")
SMTP_FROM = os.getenv("SMTP_FROM", "Ban Yaro <noreply@banyaro.app>")
APP_URL = os.getenv("APP_URL", "https://banyaro.app")