From bc6a08308eea5d7565620c755a28b78a8bf631b3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 15 Nov 2021 18:33:01 +0100 Subject: [PATCH] Fix admin password change form: forgot to change password->credentials here --- app/src/views/tool/ToolAdminpw.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(() => {