Clear stale PIN from sessionStorage on load
Wipes any previously cached PIN so old browser sessions can't auto-unlock the dashboard. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
8f3f7634ff
commit
50a76e69cc
1 file changed
+1
@@ -6,6 +6,7 @@ const esc = (s) =>
|
||||
({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c])
|
||||
);
|
||||
|
||||
sessionStorage.removeItem('pin');
|
||||
let parentPin = null;
|
||||
|
||||
async function api(path, opts = {}) {
|
||||
|
||||
Reference in new issue
Block a user