logout button

This commit is contained in:
2025-07-18 09:32:28 +02:00
parent 22c9f455b9
commit 5ff19ef372
2 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
export async function logout() {
useAuthSession().value = null;
await navigateTo({
path: '/signin',
});
}