Fix logout functionality
This commit is contained in:
parent
008b59829b
commit
532b72d070
|
@ -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