fixe la reccupération du mot de passe

vnext
Paul Schneider 8 years ago
parent b7ac60b2a8
commit b5a3b2a622
1 changed files with 1 additions and 1 deletions

@ -325,7 +325,7 @@ namespace Yavsc.Controllers
{ {
if (ModelState.IsValid) if (ModelState.IsValid)
{ {
var user = await _userManager.FindByNameAsync(model.Email); var user = await _userManager.FindByEMailAsync(model.Email);
if (user == null || !(await _userManager.IsEmailConfirmedAsync(user))) if (user == null || !(await _userManager.IsEmailConfirmedAsync(user)))
{ {
// Don't reveal that the user does not exist or is not confirmed // Don't reveal that the user does not exist or is not confirmed

Loading…