diff options
Diffstat (limited to 'src/store/modules')
-rw-r--r-- | src/store/modules/AccessControl/LdapStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/AccessControl/LdapStore.js b/src/store/modules/AccessControl/LdapStore.js index 7b5d853d..780de38e 100644 --- a/src/store/modules/AccessControl/LdapStore.js +++ b/src/store/modules/AccessControl/LdapStore.js @@ -80,8 +80,8 @@ const LdapStore = { } }, actions: { - getAccountSettings({ commit }) { - api + async getAccountSettings({ commit }) { + return await api .get('/redfish/v1/AccountService') .then(({ data: { LDAP = {}, ActiveDirectory = {} } }) => { const ldapEnabled = LDAP.ServiceEnabled; |