render json info when pass succeeded but email is not confirmed
This commit is contained in:
@ -117,7 +117,7 @@ namespace Yavsc.Controllers
|
||||
{
|
||||
ModelState.AddModelError(string.Empty,
|
||||
"You must have a confirmed email to log in.");
|
||||
return View(model);
|
||||
return this.ViewOk(model);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user