修改BUG:退出登录后没有清除自定义缓存

This commit is contained in:
Argo-Lenovo 2016-11-21 21:17:20 +08:00
parent 1e6c0b6e83
commit e22aad79f2
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ namespace Bootstrap.Admin.Controllers
public ActionResult Logout() public ActionResult Logout()
{ {
FormsAuthentication.SignOut(); FormsAuthentication.SignOut();
LgbPrincipal.UndoImpersonate();
return RedirectToAction("Login"); return RedirectToAction("Login");
} }
/// <summary> /// <summary>