Add missing files in last two commits
This commit is contained in:
parent
81e057b900
commit
d047c460ed
3 changed files with 36 additions and 0 deletions
15
ts/view/Signout.vue
Normal file
15
ts/view/Signout.vue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<p>signing out...</p>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from "vue";
|
||||
import { router } from "@/router";
|
||||
import { useSessionStore } from "@/store/session";
|
||||
|
||||
const session = useSessionStore();
|
||||
onMounted(() => {
|
||||
session.signout().then(() => {
|
||||
router.push("/signin");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue