Skip to content

Commit

Permalink
Can't interact without nip07 browser extension
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed May 17, 2024
1 parent 247df3a commit b88f5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/ndk/Login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b88f5bc

Please sign in to comment.