Skip to content

Commit

Permalink
Merge pull request #104 from PranotiPD/url-fix
Browse files Browse the repository at this point in the history
Reset password URL fix
  • Loading branch information
ashutoshgithubs authored May 19, 2024
2 parents 12c45a4 + ff34403 commit 2036d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/ResetPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.resetPasswordToken = async (request, response) => {
{ new: true }
);
//Create an Url
const url = `http://localhost:3000/update-password/${token}`;
const url = `https://edtech-dev-g-frontend.vercel.app/update-password/${token}`;
//Send a mail
await mailSender(email, "Reset Password Link", `Link: ${url}`);
//return response
Expand Down

0 comments on commit 2036d7a

Please sign in to comment.