feat : mise à jour de la structure du projet
This commit is contained in:
16
frontend/modules/core/pages/logout.vue
Normal file
16
frontend/modules/core/pages/logout.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user