fix: check failed

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
2023-07-04 16:14:27 +02:00
parent 764d38c9fa
commit 71fd87a716
10 changed files with 10 additions and 22 deletions

View File

@ -60,7 +60,7 @@ if (!connected && Astro.request.method === 'POST') {
} = load<{connected: boolean}>()
if (connected) {
window.location = '/'
window.location.pathname = '/'
}
</script>

View File

@ -1,4 +0,0 @@
---
return Astro.redirect('/account/login?logout')
---