mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Merge pull request #563 from YunoHost/fixes
fixes: login not redirecting + /domains query appearing in history
This commit is contained in:
commit
ab4dc8fd4e
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ export default {
|
|||
// and login prompt will be shown automaticly
|
||||
await dispatch('GET_YUNOHOST_INFOS')
|
||||
commit('SET_CONNECTED', true)
|
||||
await dispatch('GET', { uri: 'domains', storeKey: 'domains' })
|
||||
await api.get({ uri: 'domains', storeKey: 'domains' })
|
||||
},
|
||||
|
||||
RESET_CONNECTED({ commit }) {
|
||||
|
@ -170,7 +170,7 @@ export default {
|
|||
return api
|
||||
.post('login', { credentials }, null, { websocket: false })
|
||||
.then(() => {
|
||||
dispatch('CONNECT')
|
||||
return dispatch('CONNECT')
|
||||
})
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue