From 8bbf973097867e53164f9ba6df81068ce1622fc0 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 24 Jul 2026 10:03:10 -0400 Subject: [PATCH] fix: proper logout via window.handleLogout with XHR fallback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Both buttons call window.handleLogout (AuthManager.logout) or doLogoutFallback - doLogoutFallback: XHR POST, hides #app, shows #login-screen, clears token - No more localStorage.clear() or hard redirect — mimics showLoginScreen() - Removed all conflicting JS event listeners --- frontend/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index a04201d..4b810f9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -656,12 +656,13 @@ > + - +