这是有史以来最艰难的一次提交,不生则死!

This commit is contained in:
yubao
2017-11-28 23:54:49 +08:00
parent 9c37623d7f
commit 6a3fa6fd3d
114 changed files with 779 additions and 2373 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenAuth.WebTest.Controllers
public ActionResult Index(string username, string password)
{
var result = AuthUtil.Login(_appKey, username, password);
if (result.Success)
if (result.Code == 200)
return Redirect("/home/index?Token=" + result.Token);
else
{