From b88f5bc7310fa211701af79efac6c49148ed4948 Mon Sep 17 00:00:00 2001 From: gsovereignty Date: Fri, 17 May 2024 18:32:30 +0800 Subject: [PATCH] Can't interact without nip07 browser extension --- src/lib/ndk/Login.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ndk/Login.svelte b/src/lib/ndk/Login.svelte index 9e68516..772a2e2 100644 --- a/src/lib/ndk/Login.svelte +++ b/src/lib/ndk/Login.svelte @@ -12,6 +12,7 @@ export async function loginNip07(alertUser?: boolean) { const user = await login($ndk, undefined, 'nip07'); if (!user && alertUser) { + //todo: allow user to login with read only pubkey or create a new account. dfsk0j9j90f alert('Please use a nostr signing extension such as GetAlby to login'); } else { if ((user && user.pubkey && user.pubkey != $currentUser?.pubkey) || !$currentUser) {