Use default config when resetting smtp

This commit is contained in:
Mel O'Hagan 2022-06-29 13:12:51 +01:00
parent 5cc97ba400
commit 3016874fca
1 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,10 @@
rev: smtpConfig._rev, rev: smtpConfig._rev,
}) })
smtpConfig = { smtpConfig = {
config: {}, type: ConfigTypes.SMTP,
config: {
secure: true,
},
} }
await admin.getChecklist() await admin.getChecklist()
notifications.success(`Settings cleared`) notifications.success(`Settings cleared`)