diff --git a/assets/script.js b/assets/script.js index 4121dab..4c72c00 100644 --- a/assets/script.js +++ b/assets/script.js @@ -213,9 +213,9 @@ async function logout() { doAction('/account', data, "Logout Successful!", "Logout failed.") .then(async () => { - localStorage.clear(); await refreshNavbar(); await navigateTo(localStorage.getItem("defaultSite"), localStorage.getItem("defaultPage")); + localStorage.clear(); umami.track("logout"); }) .catch((error) => {