Skip to content

Commit

Permalink
Update ResetPassword.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Oct 6, 2023
1 parent 1230555 commit 3760ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Auth/ResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const ResetPassword = (props: any) => {
const { res } = await request(routes.checkResetToken, {
body: { token: props.token },
});
if (!res || res.ok) {
if (!res || !res.ok) {
navigate("/invalid-reset");
}
};
Expand Down

0 comments on commit 3760ae2

Please sign in to comment.