From 803d157d251d1410f490ee3eef1e5ecd408c2266 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 30 May 2026 13:42:35 +0000 Subject: [PATCH] Fix login overlay visible on reopen when session is still active The login overlay lacked the `hidden` class by default, so on every page load it was visible and blocking the app. On fresh load with a valid session, boot() skips showLogin() (no submit handler added), leaving the overlay covering the screen with a non-functional form. Adding `hidden` to the HTML and explicitly hiding the overlay in startApp() fixes both paths. https://claude.ai/code/session_01JuRTR5Xjx8emQsyerBgGU7 --- static/app.js | 1 + static/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index c003fe3..532edd9 100644 --- a/static/app.js +++ b/static/app.js @@ -58,6 +58,7 @@ async function doLogout() { } async function startApp() { + document.getElementById('loginOverlay').classList.add('hidden'); await loadConfig(); const brand = document.getElementById('navBrand'); diff --git a/static/index.html b/static/index.html index 8eee6cf..2788694 100644 --- a/static/index.html +++ b/static/index.html @@ -9,7 +9,7 @@ -
+