mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-17 11:08:02 +08:00
修改部分文件结构,完善第三方登陆功能
This commit is contained in:
@@ -14,7 +14,7 @@ namespace OpenAuth.WebTest.Controllers
|
||||
[HttpPost]
|
||||
public ActionResult Index(string username, string password)
|
||||
{
|
||||
var result = AuthUtil.Login("670b14728ad9902aecba32e22fa4f6bd", username, password);
|
||||
var result = AuthUtil.Login("openauth", username, password);
|
||||
if (result.Success)
|
||||
return Redirect("/home/index?Token=" + result.Token);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user