fix: redirect to login
This commit is contained in:
parent
2f28b9d655
commit
64b3319520
|
|
@ -176,6 +176,7 @@ export function ResetPasswordForm() {
|
||||||
alert("Failed to parse server response");
|
alert("Failed to parse server response");
|
||||||
}
|
}
|
||||||
alert("Password reset successfully");
|
alert("Password reset successfully");
|
||||||
|
window.location.href = "/login";
|
||||||
return data;
|
return data;
|
||||||
} else {
|
} else {
|
||||||
// Tangani kasus jika respons tidak OK
|
// Tangani kasus jika respons tidak OK
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user