Skip to content

Commit

Permalink
fix email return url
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Oct 10, 2018
1 parent 0012a03 commit 574469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/StsServerIdentity/Controllers/ManageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public async Task<IActionResult> SendVerificationEmail(IndexViewModel model)

var code = await _userManager.GenerateEmailConfirmationTokenAsync(user);

var callbackUrl = Url.Action("ResetPassword", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);
var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);
await _emailSender.SendEmail(
model.Email,
"StsServerIdentity Verification Email",
Expand Down

0 comments on commit 574469a

Please sign in to comment.