mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-20 02:25:56 +00:00
fix logout
This commit is contained in:
parent
ba93129b18
commit
1dbf1c3dea
1 changed files with 1 additions and 1 deletions
|
@ -265,10 +265,10 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
logout() {
|
logout() {
|
||||||
|
socket.emit("logout", () => { });
|
||||||
this.storage().removeItem("token");
|
this.storage().removeItem("token");
|
||||||
this.socket.token = null;
|
this.socket.token = null;
|
||||||
this.loggedIn = false;
|
this.loggedIn = false;
|
||||||
|
|
||||||
this.clearData();
|
this.clearData();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue