From 7bf025dbed4f1c089884621d8fee0b1054198db2 Mon Sep 17 00:00:00 2001 From: Satyendra <115466381+kaali001@users.noreply.github.com> Date: Sat, 3 Aug 2024 01:12:27 +0530 Subject: [PATCH] Updated the resetURL --- server/controllers/forgotPassword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/forgotPassword.js b/server/controllers/forgotPassword.js index 1775aa6..660ab4f 100644 --- a/server/controllers/forgotPassword.js +++ b/server/controllers/forgotPassword.js @@ -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" });