Skip to content

Commit

Permalink
Updated the resetURL
Browse files Browse the repository at this point in the history
  • Loading branch information
kaali001 authored Aug 2, 2024
1 parent 7de9f95 commit 7bf025d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/forgotPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const requestPasswordReset = async (req, res) => {
}
});

const resetUrl = `http://192.168.93.236:5173/reset-password/${token}/${passwd.id}`;
const resetUrl = `http://localhost:5173/reset-password/${token}/${passwd.id}`;
await sendResetEmail(email, resetUrl);

res.status(200).json({ message: "Password reset link has been sent to your email" });
Expand Down

0 comments on commit 7bf025d

Please sign in to comment.