minor: loggedIn => isLoggedIn
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m1s

This commit is contained in:
2025-09-18 13:02:00 -04:00
parent c915d658d0
commit f49c76a642
5 changed files with 20 additions and 13 deletions

View File

@@ -1,12 +1,13 @@
<script setup lang="ts">
definePageMeta({ layout: "auth" });
const { loggedIn } = useUserSession();
useSeoMeta({ title: loggedIn.value ? "Déconnexion" : "Connexion" });
const { isLoggedIn } = useAuth();
useSeoMeta({ title: isLoggedIn.value ? "Déconnexion" : "Connexion" });
</script>
<template>
<LogoutForm v-if="loggedIn" />
<LoginForm v-else />
<AuthState>
<LogoutForm v-if="isLoggedIn" />
<LoginForm v-else />
</AuthState>
</template>