From b5a3b2a622d5589a39575ebc2d5bc29101f5cabf Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 29 Jul 2016 14:30:35 +0200 Subject: [PATCH] =?UTF-8?q?fixe=20la=20reccup=C3=A9ration=20du=20mot=20de?= =?UTF-8?q?=20passe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/approot/src/Yavsc/Controllers/AccountController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/approot/src/Yavsc/Controllers/AccountController.cs b/build/approot/src/Yavsc/Controllers/AccountController.cs index 269334b2..dbbd6fba 100644 --- a/build/approot/src/Yavsc/Controllers/AccountController.cs +++ b/build/approot/src/Yavsc/Controllers/AccountController.cs @@ -325,7 +325,7 @@ namespace Yavsc.Controllers { if (ModelState.IsValid) { - var user = await _userManager.FindByNameAsync(model.Email); + var user = await _userManager.FindByEMailAsync(model.Email); if (user == null || !(await _userManager.IsEmailConfirmedAsync(user))) { // Don't reveal that the user does not exist or is not confirmed