diff --git a/client/src/Pages/Settings/SettingsEmail.jsx b/client/src/Pages/Settings/SettingsEmail.jsx index 73ba11610..7d6538734 100644 --- a/client/src/Pages/Settings/SettingsEmail.jsx +++ b/client/src/Pages/Settings/SettingsEmail.jsx @@ -57,7 +57,8 @@ const SettingsEmail = ({ systemEmailTLSServername: settingsData?.settings?.systemEmailTLSServername, systemEmailIgnoreTLS: settingsData?.settings?.systemEmailIgnoreTLS, systemEmailRequireTLS: settingsData?.settings?.systemEmailRequireTLS, - systemEmailRejectUnauthorized: settingsData?.settings?.systemEmailRejectUnauthorized, + systemEmailRejectUnauthorized: + settingsData?.settings?.systemEmailRejectUnauthorized, }; // Basic validation @@ -161,9 +162,7 @@ const SettingsEmail = ({ )} - - {t("settingsEmailTLSServername")} - + {t("settingsEmailTLSServername")} { return; } let newValue; - if (name === "systemEmailIgnoreTLS" || name === "systemEmailRequireTLS" || name === "systemEmailRejectUnauthorized") { + if ( + name === "systemEmailIgnoreTLS" || + name === "systemEmailRequireTLS" || + name === "systemEmailRejectUnauthorized" + ) { newValue = checked; } // Build next state early