Skip to content

Commit

Permalink
verify-email link fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaMohd committed Feb 20, 2021
1 parent 9dae3f2 commit 8afebea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/email.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const sendEmail = async (to, subject, text) => {
const sendResetPasswordEmail = async (to, token) => {
const subject = 'Reset password';
// replace this url with the link to the reset password page of your front-end app
const resetPasswordUrl = `http://link-to-app/reset-password?token=${token}`;
const resetPasswordUrl = `http://link-to-app/verify-email?token=${token}`;
const text = `Dear user,
To reset your password, click on this link: ${resetPasswordUrl}
If you did not request any password resets, then ignore this email.`;
Expand All @@ -41,7 +41,7 @@ If you did not request any password resets, then ignore this email.`;
const sendVerificationEmail = async (to, token) => {
const subject = 'Email Verification';
// replace this url with the link to the reset password page of your front-end app
const verificationEmailUrl = `http://link-to-app/reset-password?token=${token}`;
const verificationEmailUrl = `http://link-to-app/verify-email?token=${token}`;
const text = `Dear user,
To verify your email, click on this link: ${verificationEmailUrl}
If you did not request any email verification, then ignore this email.`;
Expand Down

0 comments on commit 8afebea

Please sign in to comment.