From 5f572e769eb0a41cd362ac378b7677e5259a2593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Wed, 25 Feb 2026 16:35:50 +0100 Subject: [PATCH] Implement signout functionality to clear authentication tokens --- app/composables/useAuth.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/composables/useAuth.ts b/app/composables/useAuth.ts index fd6baa5..42a0595 100644 --- a/app/composables/useAuth.ts +++ b/app/composables/useAuth.ts @@ -79,7 +79,10 @@ export const useAuth = () => { const signup = async (name: string, email: string, password: string) => {} - const signout = () => {} + const signout = () => { + refreshToken.value = null + sessionToken.value = null + } const refreshSessionToken = async () => { if (waitForPromise) {