<script setup lang="ts">
definePageMeta({ layout: "auth" });

const { loggedIn } = useUserSession();

useSeoMeta({ title: loggedIn.value ? "Déconnexion" : "Connexion" });
</script>

<template>
  <LogoutForm v-if="loggedIn" />
  <LoginForm v-else />
</template>
