aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/settings/nostr/+page.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-13 16:23:39 -0700
committerAdam Soltys <[email protected]>2026-10-13 16:23:39 -0700
commit558a7c5a08cb172dbe229675a6b330611000d3fc (patch)
tree417137684074004e4334e78be9d682d61c1d4797 /src/routes/(app)/settings/nostr/+page.svelte
parente9ae62fe22c104e9403dfba299d6ac6a3210b757 (diff)
downloadcoinos-ui-master.tar.gz
coinos-ui-master.zip
nostr: fetch the encrypted key with the password when there's no session keyHEADmaster
Without the sk cookie from a password login (nostr logins, older sessions) the reveal button was hidden and signing failed. Ask for the password and get the key from /nsec instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UjHzoBmW1iPpEe5qC2LDYB
Diffstat (limited to 'src/routes/(app)/settings/nostr/+page.svelte')
-rw-r--r--src/routes/(app)/settings/nostr/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/settings/nostr/+page.svelte b/src/routes/(app)/settings/nostr/+page.svelte
index 4ce153e4..3fe6e445 100644
--- a/src/routes/(app)/settings/nostr/+page.svelte
+++ b/src/routes/(app)/settings/nostr/+page.svelte
@@ -268,7 +268,7 @@
{/if}
</div>
-{#if user.hasnsec}
+{#if user.hasnsec || user.nsec}
<div class="space-y-2">
<label for="seedphrase" class="font-bold"
>{$t("user.settings.nostrKeys")}</label