render json info when pass succeeded but email is not confirmed

main
Paul Schneider 8 years ago
parent 44f5fa3ec2
commit 3839d4cfdb
1 changed files with 1 additions and 1 deletions

@ -117,7 +117,7 @@ namespace Yavsc.Controllers
{ {
ModelState.AddModelError(string.Empty, ModelState.AddModelError(string.Empty,
"You must have a confirmed email to log in."); "You must have a confirmed email to log in.");
return View(model); return this.ViewOk(model);
} }
} }

Loading…