Skip to content

Commit

Permalink
Merge pull request hagopj13#71 from mddarmawan/patch-1
Browse files Browse the repository at this point in the history
Removed unused spaces in sendResetPasswordEmail text
  • Loading branch information
hagopj13 authored Feb 8, 2021
2 parents 38b4d10 + 94a9440 commit 9fc18ff
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 @@ -34,8 +34,8 @@ const sendResetPasswordEmail = async (to, token) => {
// 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 text = `Dear user,
To reset your password, click on this link: ${resetPasswordUrl}
If you did not request any password resets, then ignore this email.`;
To reset your password, click on this link: ${resetPasswordUrl}
If you did not request any password resets, then ignore this email.`;
await sendEmail(to, subject, text);
};

Expand Down

0 comments on commit 9fc18ff

Please sign in to comment.