From 2ce312b5b088a20218fec0f15a718c7fd5d8f6fd Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 10 Jun 2021 11:28:03 +0100 Subject: [PATCH] Making sure auth section of form can always be filled in. --- .../src/pages/builder/portal/manage/email/index.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/manage/email/index.svelte b/packages/builder/src/pages/builder/portal/manage/email/index.svelte index f38f922bb8..9e3f3c2147 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/index.svelte @@ -75,9 +75,6 @@ type: ConfigTypes.SMTP, config: { secure: true, - auth: { - type: "login", - }, }, } } else { @@ -85,6 +82,11 @@ } loading = false requireAuth = smtpConfig.config.auth != null + // always attach the auth for the forms purpose - + // this will be removed later if required + smtpConfig.config.auth = { + type: "login", + } } fetchSmtp()