fix: send confirmPassword in reset-password API call
This commit is contained in:
parent
c88bb7e8e8
commit
ddffdbd0c6
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user