mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix adminpw api route
This commit is contained in:
parent
88b488857c
commit
849a13853e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export default {
|
|||
|
||||
api.fetchAll(
|
||||
[['POST', 'login', { password: currentPassword }, { websocket: false }],
|
||||
['PUT', 'admisnpw', { new_password: password }]],
|
||||
['PUT', 'adminpw', { new_password: password }]],
|
||||
{ wait: true }
|
||||
).then(() => {
|
||||
this.$store.dispatch('DISCONNECT')
|
||||
|
|
Loading…
Reference in a new issue