From 182610283d53fdbb67ad13e66d9d637b904d60ba Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 19 Feb 2026 16:17:52 +0100 Subject: [PATCH] fix: map smtp_use_tls/ssl from API response in loadEmailSettings 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 --- app/modules/core/static/admin/js/settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/modules/core/static/admin/js/settings.js b/app/modules/core/static/admin/js/settings.js index 594d34eb..0e960f2c 100644 --- a/app/modules/core/static/admin/js/settings.js +++ b/app/modules/core/static/admin/js/settings.js @@ -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,