mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix admin password change form: forgot to change password->credentials here
This commit is contained in:
parent
3de72bd99b
commit
bc6a08308e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default {
|
|||
this.serverError = ''
|
||||
|
||||
api.fetchAll(
|
||||
[['POST', 'login', { password: currentPassword }, null, { websocket: false }],
|
||||
[['POST', 'login', { credentials: currentPassword }, null, { websocket: false }],
|
||||
['PUT', 'adminpw', { new_password: password }, 'adminpw']],
|
||||
{ wait: true }
|
||||
).then(() => {
|
||||
|
|
Loading…
Reference in a new issue