mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-13 09:44:38 -05:00
fix logout
This commit is contained in:
parent
ba93129b18
commit
1dbf1c3dea
@ -265,10 +265,10 @@ export default {
|
||||
},
|
||||
|
||||
logout() {
|
||||
socket.emit("logout", () => { });
|
||||
this.storage().removeItem("token");
|
||||
this.socket.token = null;
|
||||
this.loggedIn = false;
|
||||
|
||||
this.clearData();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user