Commit 196f3f33 by naan1993

修复退出登录跳转页面的bug

parent c0da9046
......@@ -113,7 +113,6 @@ public class LoginController extends BaseController {
public String logOut() {
LogManager.me().executeLog(LogTaskFactory.exitLog(ShiroKit.getUser().getId(), getIp()));
ShiroKit.getSubject().logout();
super.getSession().invalidate();
return REDIRECT + "/login";
}
}
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