upgrade supabase auth to recommended
This commit is contained in:
15
pages/confirm.vue
Normal file
15
pages/confirm.vue
Normal 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>
|
||||
Reference in New Issue
Block a user