mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
New auth mecanism require to pass credentials as arg instead of password
This commit is contained in:
parent
6e70c7f57a
commit
63524be319
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ export default {
|
|||
},
|
||||
|
||||
'LOGIN' ({ dispatch }, password) {
|
||||
return api.post('login', { password }, null, { websocket: false }).then(() => {
|
||||
return api.post('login', { credentials: password }, null, { websocket: false }).then(() => {
|
||||
dispatch('CONNECT')
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue