mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 17:23:21 +00:00
fix logout
This commit is contained in:
@@ -265,10 +265,10 @@ export default {
|
||||
},
|
||||
|
||||
logout() {
|
||||
socket.emit("logout", () => { });
|
||||
this.storage().removeItem("token");
|
||||
this.socket.token = null;
|
||||
this.loggedIn = false;
|
||||
|
||||
this.clearData();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user