fix: map smtp_use_tls/ssl from API response in loadEmailSettings
Some checks failed
CI / ruff (push) Successful in 11s
CI / pytest (push) Successful in 36m26s
CI / validate (push) Failing after 22s
CI / dependency-scanning (push) Successful in 30s
CI / docs (push) Has been skipped
CI / deploy (push) Has been skipped

The previous fix added the fields to the API response but missed mapping
them in loadEmailSettings() where the response is stored into
emailSettings. The values were dropped before reaching populateEmailForm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 16:17:52 +01:00
parent e23788cb7d
commit 182610283d

View File

@@ -329,6 +329,8 @@ function adminSettings() {
smtp_host: data.smtp_host || '',
smtp_port: data.smtp_port || 587,
smtp_user: data.smtp_user || '',
smtp_use_tls: data.smtp_use_tls ?? true,
smtp_use_ssl: data.smtp_use_ssl ?? false,
mailgun_domain: data.mailgun_domain || '',
aws_region: data.aws_region || '',
debug: data.debug || false,