render json info when pass succeeded but email is not confirmed
This commit is contained in:
parent
bdc52bc0f6
commit
c0aaa36048
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue