SMTP and other email realted settings
This commit is contained in:
@@ -64,7 +64,11 @@ export default function ResetPassword() {
|
||||
// Correct API endpoint for password reset confirmation
|
||||
await fetchAPI('/v1/auth/password-reset/confirm/', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ token, new_password: password }),
|
||||
body: JSON.stringify({
|
||||
token,
|
||||
new_password: password,
|
||||
new_password_confirm: confirmPassword
|
||||
}),
|
||||
});
|
||||
setResetState('success');
|
||||
} catch (err: unknown) {
|
||||
|
||||
Reference in New Issue
Block a user