提交 681a37b0 编写于 作者: NoSubject's avatar NoSubject

fix logout reload. delete authentication http request

上级 35261922
......@@ -85,6 +85,7 @@ MWF.xDesktop.Authentication = new Class({
this.socket = null;
}
Cookie.dispose("x-token");
if (layout.session && layout.session.user) layout.session.user.token = "";
window.location.reload();
}.bind(this));
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册