diff --git a/internal/web/templates/admin.html b/internal/web/templates/admin.html index 86f10ee..6af4d74 100644 --- a/internal/web/templates/admin.html +++ b/internal/web/templates/admin.html @@ -103,7 +103,9 @@ }); }); - if (key()) loadSettings(); + // #112: always show the lock on fresh load — do not auto-restore the + // panel from a stale sessionStorage key. The key is only written after a + // successful unlock (above) so in-page actions still work within this visit. })(); {{template "foot" .}} diff --git a/internal/web/templates/settings.html b/internal/web/templates/settings.html index 368d08b..91e5585 100644 --- a/internal/web/templates/settings.html +++ b/internal/web/templates/settings.html @@ -8,23 +8,37 @@

Theme

-

Applies instantly and is saved in this browser.