Skip to content

Commit 0b07a88

Browse files
committed
Link changed for restoration
1 parent a9e119a commit 0b07a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eFormAPI/eFormAPI/Controllers/AccountController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public async Task<OperationResult> ForgotPassword(ForgotPasswordModel model)
144144
}
145145
var code = await UserManager.GeneratePasswordResetTokenAsync(user.Id);
146146
var link = ConfigurationManager.AppSettings["app:siteLink"];
147-
link = $"{link}/login/restore-password?userId={user.Id}&code={code}";
147+
link = $"{link}/restore-password-confirmation?userId={user.Id}&code={code}";
148148
await UserManager.SendEmailAsync(user.Id, "Reset Password",
149149
"Please reset your password by clicking <a href=\"" + link + "\">here</a>");
150150
return new OperationResult(true);

0 commit comments

Comments
 (0)