diff --git a/web/components/instance/email-form.tsx b/web/components/instance/email-form.tsx index da26a015c..67682d3b7 100644 --- a/web/components/instance/email-form.tsx +++ b/web/components/instance/email-form.tsx @@ -20,7 +20,7 @@ export interface EmailFormValues { EMAIL_HOST_USER: string; EMAIL_HOST_PASSWORD: string; EMAIL_USE_TLS: string; - EMAIL_USE_SSL: string; + // EMAIL_USE_SSL: string; } export const InstanceEmailForm: FC = (props) => { @@ -44,7 +44,7 @@ export const InstanceEmailForm: FC = (props) => { EMAIL_HOST_USER: config["EMAIL_HOST_USER"], EMAIL_HOST_PASSWORD: config["EMAIL_HOST_PASSWORD"], EMAIL_USE_TLS: config["EMAIL_USE_TLS"], - EMAIL_USE_SSL: config["EMAIL_USE_SSL"], + // EMAIL_USE_SSL: config["EMAIL_USE_SSL"], }, }); @@ -194,7 +194,7 @@ export const InstanceEmailForm: FC = (props) => { -
+ {/*
Turn SSL {Boolean(parseInt(watch("EMAIL_USE_SSL"))) ? "off" : "on"} @@ -218,7 +218,7 @@ export const InstanceEmailForm: FC = (props) => { )} />
-
+
*/}
diff --git a/web/pages/god-mode/authorization.tsx b/web/pages/god-mode/authorization.tsx index 0020d1297..9af310451 100644 --- a/web/pages/god-mode/authorization.tsx +++ b/web/pages/god-mode/authorization.tsx @@ -75,7 +75,7 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => { {formattedConfig ? ( <>
-
+
Turn Magic Links {Boolean(parseInt(enableMagicLogin)) ? "off" : "on"} @@ -92,11 +92,12 @@ const InstanceAdminAuthorizationPage: NextPageWithLayout = observer(() => {
{ - Boolean(parseInt(enableMagicLogin)) === true - ? updateConfig("ENABLE_MAGIC_LINK_LOGIN", "0") - : updateConfig("ENABLE_MAGIC_LINK_LOGIN", "1"); - }} + // onChange={() => { + // Boolean(parseInt(enableMagicLogin)) === true + // ? updateConfig("ENABLE_MAGIC_LINK_LOGIN", "0") + // : updateConfig("ENABLE_MAGIC_LINK_LOGIN", "1"); + // }} + onChange={() => {}} size="sm" disabled={isSubmitting} />