<script setup lang="ts">
const { loginFields, login } = useAuthActions();
</script>

<template>
  <UAuthForm
    :schema="loginSchema"
    :fields="loginFields"
    title="Connexion"
    description="Veuillez vous identifier."
    icon="i-lucide-user"
    loading-auto
    @submit="login"
  />
</template>
