<script setup lang="ts">
const user = useSupabaseUser()

// Redirect if already logged in
watch(user, (u) => {
  if (u) navigateTo('/')
}, { immediate: true })

useSeoMeta({ title: 'Vuelato - Iniciar sesion' })
</script>

<template>
  <UPageSection>
    <AuthLoginForm />
  </UPageSection>
</template>
