Guest User

Guest User

  • Tech Writer
  • 611
  • 129.7k

Reset Link on mail .net core.

Jul 21 2020 4:14 AM
string message = $"Hello {FName.FirstName}! We have recieved your Reset Password request. Please click the link to Reset Password. URL :{Request.RequestUri.Scheme}://{Request.RequestUri.Host}:{(Request.RequestUri.IsDefaultPort ? string.Empty : Request.RequestUri.Port.ToString())}{"/api/Login/ResetPassword?uid="}{ user.UserId}";
 
Not run this code for genrate a reset Password link in .net core 

Answers (4)