next/pages/auth/logout.vue

13 lines
245 B
Vue
Raw Normal View History

2023-10-10 22:37:40 -04:00
<script lang="ts" setup>
definePageMeta({
middleware: ["auth"],
});
const { signOut } = useAuth();
signOut({
callbackUrl: "/",
});
</script>
<template>
<a-typography-title :level="3"> Signed out. 👋 </a-typography-title>
</template>