From 55a8ac20ee6ff4d7c441ad12923a161d7805cb70 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 17 Jun 2021 13:47:27 +0200 Subject: [PATCH] fix: API Call for Reset Password --- frontend/src/apis/loginAPI.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/apis/loginAPI.js b/frontend/src/apis/loginAPI.js index a1befd58a..f71e7634f 100644 --- a/frontend/src/apis/loginAPI.js +++ b/frontend/src/apis/loginAPI.js @@ -102,9 +102,7 @@ const loginAPI = { const payload = { session_id: sessionId, email, - update: { - 'User.password': password, - }, + password, } return apiPost(CONFIG.LOGIN_API_URL + 'resetPassword', payload) },