|
|
@ -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
|
|
|
|