From f9d8b206c0bb6af8c2d4aa619ee3b9859073f901 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Wed, 13 Aug 2025 16:59:38 +0100 Subject: fix: update logout form action to use /logout endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change logout form action from /api/logout to /logout and clean up formatting. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/components/auth/AuthButtons.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/components/auth/AuthButtons.tsx b/frontend/components/auth/AuthButtons.tsx index 5b5053d..18ea13d 100644 --- a/frontend/components/auth/AuthButtons.tsx +++ b/frontend/components/auth/AuthButtons.tsx @@ -5,10 +5,10 @@ import { Auth_tinyauth_public_endpoint } from "@/lib/auth_shared" export async function AuthButtons() { const user = await Auth_get_user() - + if (user.isLoggedIn) { return ( -
+
) -} \ No newline at end of file +} -- cgit