From c42f379ad3ae25eec94404c8e64ea19c9921f03a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 15 Aug 2026 15:58:32 -0700 Subject: Your own profile carries the exit: Log out signs the session off entirely, distinct from the padlock's lock-in-place Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv --- src/app.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index c9b690a..af7421d 100644 --- a/src/app.js +++ b/src/app.js @@ -4065,6 +4065,9 @@ const ctx = { // support) — lazy so it resolves against the final FEATURES list, and a // build without the target feature simply gets null back hook: (name, ...args) => featureHook(name, ...args), + // full sign-out (distinct from the padlock's lock-in-place): clear the + // session and leave — offering a password if none protects the vault yet + logout: () => { lock({ offerPassword: true }); }, getAccount: () => accountSel(), setAccount: (a, dir) => setAccountSel(a, dir), // Open (or create) a wallet from a mnemonic — used by nostr login. -- cgit v1.2.3