revert unneeded change
This commit is contained in:
parent
84ba15babe
commit
ededb3be5c
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ func RejectUnregisteredNpubs(ctx context.Context, event *nostr.Event) (reject bo
|
|||
authenticatedUser := khatru.GetAuthed(ctx)
|
||||
if authenticatedUser == "" {
|
||||
l.Debug().Msgf("kind: %v, pubkey not authed: %s", event.Kind, event.PubKey)
|
||||
khatru.RequestAuth(ctx)
|
||||
return true, fmt.Sprintf("auth-required: interacting with this relay requires authentication")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue