mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-08 18:34:44 +08:00
这是有史以来最艰难的一次提交,不生则死!
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user