summaryrefslogtreecommitdiff
path: root/src/store/modules/Settings/SmtpStore.js
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-09-12 14:56:04 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-09-12 14:56:04 +0300
commit4c61406a3fac9c0233e840da73866a2f3d4c9ed6 (patch)
tree0bc1195bf53e89212946c09469c6525202a5602c /src/store/modules/Settings/SmtpStore.js
parentd62b9a7a12f6aede0b9be001047d7043302b7e5d (diff)
downloadwebui-vue-4c61406a3fac9c0233e840da73866a2f3d4c9ed6.tar.xz
add fields for req, warning smtp
Diffstat (limited to 'src/store/modules/Settings/SmtpStore.js')
-rw-r--r--src/store/modules/Settings/SmtpStore.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/store/modules/Settings/SmtpStore.js b/src/store/modules/Settings/SmtpStore.js
index c6c37273..38f60cf1 100644
--- a/src/store/modules/Settings/SmtpStore.js
+++ b/src/store/modules/Settings/SmtpStore.js
@@ -12,11 +12,7 @@ const SmtpStore = {
async setSmtpSettings({ commit }, payload) {
return await api
.get(
- `/redfish/v1/Smtp/ChangeParameters
- &user=${payload.user}
- &password=${payload.password}
- &host=smtp.${payload.host}
- &port=${payload.port}`
+ `/redfish/v1/Smtp/ChangeParameters&user=${payload.user}&password=${payload.password}&host=smtp.${payload.host}&port=${payload.port}&auth=${payload.auth}&ssl=${payload.ssl}`
)
.then(() => {
commit('saveSmtpSettings', payload);