<template>
    <div class="flex h-full items-center justify-center">
        <p class="text-neutral-500">{{ $t('auth.logout') }}...</p>
    </div>
</template>

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

const auth = useAuthStore()

onMounted(async () => {
    await auth.logout()
    await navigateTo('/login')
})
</script>
