Add extension login

This commit is contained in:
Jon Staab
2024-08-22 13:17:21 -07:00
parent ae6c03d975
commit 91fbc260eb
7 changed files with 90 additions and 41 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ Object.assign(NetworkContext, {
onEvent: (url: string, event: TrustedEvent) => tracker.track(event.id, url),
isDeleted: (url: string, event: TrustedEvent) => repository.isDeleted(event),
onAuth: async (url: string, challenge: string) => {
if (seenChallenges.has(challenge)) {
if (seenChallenges.has(challenge) || !signer.get()) {
return
}