diff --git a/app/composables/useAuth.ts b/app/composables/useAuth.ts index a16d40f..55bfbc7 100644 --- a/app/composables/useAuth.ts +++ b/app/composables/useAuth.ts @@ -7,7 +7,7 @@ export const useAuth = () => { credentials: 'include', }) await $api('/api/login', {method: 'POST', body: {email, password}}) - await navigateTo('/lists') + window.location.href = '/lists' } const register = async (email: string, username: string) => {