fix: check failed
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
@ -60,7 +60,7 @@ if (!connected && Astro.request.method === 'POST') {
|
||||
} = load<{connected: boolean}>()
|
||||
|
||||
if (connected) {
|
||||
window.location = '/'
|
||||
window.location.pathname = '/'
|
||||
}
|
||||
|
||||
</script>
|
||||
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
return Astro.redirect('/account/login?logout')
|
||||
|
||||
---
|
Reference in New Issue
Block a user