Skip to content

Commit

Permalink
Removed unused spaces in sendResetPasswordEmail text
Browse files Browse the repository at this point in the history
  • Loading branch information
Dandi Darmawan authored Feb 8, 2021
1 parent 38b4d10 commit 94a9440
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 94a9440

Please sign in to comment.