({ commit })
| 575 | }) |
| 576 | }, |
| 577 | UpdateConfiguration ({ commit }) { |
| 578 | return new Promise((resolve, reject) => { |
| 579 | getAPI('listLdapConfigurations').then(response => { |
| 580 | const ldapEnable = (response.ldapconfigurationresponse.count > 0) |
| 581 | commit('SET_LDAP', ldapEnable) |
| 582 | }).catch(error => { |
| 583 | reject(error) |
| 584 | }) |
| 585 | }) |
| 586 | }, |
| 587 | SetDomainStore ({ commit }, domainStore) { |
| 588 | commit('SET_DOMAIN_STORE', domainStore) |
| 589 | }, |