fix: redirect to login

This commit is contained in:
Sukma Gladys 2024-11-22 10:45:29 +07:00
parent 2f28b9d655
commit 64b3319520

View File

@ -176,6 +176,7 @@ export function ResetPasswordForm() {
alert("Failed to parse server response");
}
alert("Password reset successfully");
window.location.href = "/login";
return data;
} else {
// Tangani kasus jika respons tidak OK