diff --git a/assets/script.js b/assets/script.js index eb0a957..3ada946 100644 --- a/assets/script.js +++ b/assets/script.js @@ -335,6 +335,7 @@ async function logout() { await refreshNavbar(); await navigateTo(localStorage.getItem("defaultSite"), localStorage.getItem("defaultPage")); localStorage.clear(); + UserInfo = {}; umami.track("logout"); }) .catch((error) => {