Fix logout functionality
This commit is contained in:
parent
90e46ab254
commit
9f9cc46988
|
@ -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()
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue