fix: make sure things load properly on login/signup
This commit is contained in:
parent
f760156651
commit
e52a9e997c
5 changed files with 81 additions and 61 deletions
|
|
@ -299,6 +299,8 @@
|
|||
delete document.body.dataset.user;
|
||||
delete document.body.dataset.perms;
|
||||
window.location = "/";
|
||||
|
||||
document.dispatchEvent(new CustomEvent("user_logged_out", { detail: {} }));
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue