Clear token on signout
All checks were successful
Build Docker image / build (pull_request) Successful in 4m39s

This commit is contained in:
Roman Krček
2025-06-22 17:47:55 +02:00
parent 14213fe341
commit fd12f22aa7
2 changed files with 11 additions and 1 deletions

View File

@@ -6,5 +6,4 @@ export const GET: RequestHandler = async ({ locals }) => {
if (locals.supabase) {
await locals.supabase.auth.signOut();
}
throw redirect(303, '/');
};