mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-29 11:44:28 +01:00
API refactoring and new domain form fields.
This commit is contained in:
@@ -7,7 +7,7 @@ function setupAxios (token) {
|
||||
}
|
||||
|
||||
function fetchUser (commit) {
|
||||
return Vue.prototype.$axios.get('/accounts/me').then(resp => {
|
||||
return Vue.prototype.$axios.get('/account/me').then(resp => {
|
||||
commit('SET_AUTH_USER', { authUser: resp.data, isAuthenticated: true })
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user