Commit 5b214046 by 泽锋 李

fix

parent e0e126b0
...@@ -59,6 +59,7 @@ namespace AutoTurnOver.Controllers ...@@ -59,6 +59,7 @@ namespace AutoTurnOver.Controllers
return new JsonResult(new { data = user }); return new JsonResult(new { data = user });
} }
[NoLogin]
public ActionResult Logout() public ActionResult Logout()
{ {
MyHttpContext.Current.Session.Remove("UserInfo"); MyHttpContext.Current.Session.Remove("UserInfo");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment