diff --git a/app/src/views/tool/ToolAdminpw.vue b/app/src/views/tool/ToolAdminpw.vue index 8ff3f6cf..14417d08 100644 --- a/app/src/views/tool/ToolAdminpw.vue +++ b/app/src/views/tool/ToolAdminpw.vue @@ -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(() => {