fix: send confirmPassword in reset-password API call

This commit is contained in:
soufiane 2025-12-02 17:00:47 +01:00
parent c88bb7e8e8
commit ddffdbd0c6

View File

@ -45,7 +45,7 @@ function ResetPasswordForm() {
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },
body: JSON.stringify({ token, password }), body: JSON.stringify({ token, password, confirmPassword }),
}); });
const data = await response.json(); const data = await response.json();