upgrade supabase auth to recommended

This commit is contained in:
Michael Dausmann
2023-11-06 20:09:08 +11:00
parent 6e5c8547ea
commit 7e46acf449
9 changed files with 351 additions and 197 deletions

15
pages/confirm.vue Normal file
View File

@@ -0,0 +1,15 @@
<script setup lang="ts">
const user = useSupabaseUser();
watch(
user,
() => {
if (user.value) {
return navigateTo('/dashboard');
}
},
{ immediate: true }
);
</script>
<template>
<div>Logging you in...</div>
</template>