diff --git a/packages/standard-components/src/Navigation.svelte b/packages/standard-components/src/Navigation.svelte index 03c4b4d3f8..bb0863fe2c 100644 --- a/packages/standard-components/src/Navigation.svelte +++ b/packages/standard-components/src/Navigation.svelte @@ -18,7 +18,8 @@ } const logOut = () => { - localStorage.removeItem("budibase:token") + document.cookie = + "budibase:token=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;" location.reload() }