mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix(login): return proper Promise on login action
This commit is contained in:
parent
4b484a0396
commit
a5e0022fb5
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ export default {
|
|||
return api
|
||||
.post('login', { credentials }, null, { websocket: false })
|
||||
.then(() => {
|
||||
dispatch('CONNECT')
|
||||
return dispatch('CONNECT')
|
||||
})
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue