Making sure auth section of form can always be filled in.

This commit is contained in:
mike12345567 2021-06-10 11:28:03 +01:00
parent db393f05be
commit 2feabb594a
1 changed files with 5 additions and 3 deletions

View File

@ -75,9 +75,6 @@
type: ConfigTypes.SMTP, type: ConfigTypes.SMTP,
config: { config: {
secure: true, secure: true,
auth: {
type: "login",
},
}, },
} }
} else { } else {
@ -85,6 +82,11 @@
} }
loading = false loading = false
requireAuth = smtpConfig.config.auth != null 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() fetchSmtp()