diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-12 14:56:04 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-12 14:56:04 +0300 |
commit | 4c61406a3fac9c0233e840da73866a2f3d4c9ed6 (patch) | |
tree | 0bc1195bf53e89212946c09469c6525202a5602c /src/store | |
parent | d62b9a7a12f6aede0b9be001047d7043302b7e5d (diff) | |
download | webui-vue-4c61406a3fac9c0233e840da73866a2f3d4c9ed6.tar.xz |
add fields for req, warning smtp
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 6 |
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); |