feat(pages): create logout page
This commit is contained in:
parent
dd97a220f5
commit
c67f1bcfb1
12
pages/logout.vue
Normal file
12
pages/logout.vue
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<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>
|
Loading…
x
Reference in New Issue
Block a user