<script setup lang="ts">
const { loginSchema, loginFields, onLoginSubmit } = useLogin();
</script>

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