Skip to content

Commit

Permalink
Merge pull request #5 from twinmind/patch-2
Browse files Browse the repository at this point in the history
#3 - Remove Redundant Dollar Signs.
  • Loading branch information
cornflourblue committed Jul 14, 2020
2 parents c8d1607 + 54ab70b commit e0cc9ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Services/AccountService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private void sendAlreadyRegisteredEmail(string email, string origin)
to: email,
subject: "Sign-up Verification API - Email Already Registered",
html: $@"<h4>Email Already Registered</h4>
<p>Your email <strong>${email}</strong> is already registered.</p>
<p>Your email <strong>{email}</strong> is already registered.</p>
{message}"
);
}
Expand All @@ -381,7 +381,7 @@ private void sendPasswordResetEmail(Account account, string origin)
string message;
if (!string.IsNullOrEmpty(origin))
{
var resetUrl = $"{origin}/account/reset-password?token=${account.ResetToken}";
var resetUrl = $"{origin}/account/reset-password?token={account.ResetToken}";
message = $@"<p>Please click the below link to reset your password, the link will be valid for 1 day:</p>
<p><a href=""{resetUrl}"">{resetUrl}</a></p>";
}
Expand All @@ -399,4 +399,4 @@ private void sendPasswordResetEmail(Account account, string origin)
);
}
}
}
}

0 comments on commit e0cc9ee

Please sign in to comment.