Skip to content

Commit

Permalink
Fix bug9 (#114)
Browse files Browse the repository at this point in the history
* fix reset password routing and get top users

* fix (reset paswword forgotten ) : fix url website

* fix (Search user for access file ): fix tesets

* fix(email) : fix address
  • Loading branch information
mahdijafariii authored Sep 9, 2024
1 parent b4914ca commit 4bd0086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public EmailService(IConfiguration configuration)
public async Task SendPasswordResetEmail(string toEmail, string resetLink, string token)
{

string htmlTemplatePath = @"Assets\email-template.html";
string htmlTemplatePath = @"Assets/email-template.html";
string htmlContent = File.ReadAllText(htmlTemplatePath);
string linkWithToken = $"{resetLink}?token={token}&email={toEmail}";
htmlContent = htmlContent.Replace("https://myfronti.abriment.com?token={token}&email={email}", linkWithToken);
Expand Down

0 comments on commit 4bd0086

Please sign in to comment.