fix a recent commit

Default user token provider is back
This commit is contained in:
Paul Schneider 2016-08-03 16:53:58 +02:00
commit b3ccc69ec7
4 changed files with 7 additions and 7 deletions

View file

@ -356,7 +356,7 @@ namespace Yavsc.Controllers
var code = await _userManager.GeneratePasswordResetTokenAsync(user);
var callbackUrl = Url.Action("ResetPassword", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);
await _emailSender.SendEmailAsync(_siteSettings,_smtpSettings,model.Email, _localizer["Reset Password"],
_localizer["Please reset your password by following this link:"] + callbackUrl );
_localizer["Please reset your password by following this link:"] +" <"+ callbackUrl +">" );
return View("ForgotPasswordConfirmation");
}