mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-05 05:40:14 +00:00
Fixed --no-auth option in rncp
This commit is contained in:
parent
474521056b
commit
3e70dd6134
@ -99,8 +99,11 @@ def receive_sender_identified(link, identity):
|
||||
if identity.hash in allowed_identity_hashes:
|
||||
RNS.log("Authenticated sender", RNS.LOG_VERBOSE)
|
||||
else:
|
||||
if not allow_all:
|
||||
RNS.log("Sender not allowed, tearing down link", RNS.LOG_VERBOSE)
|
||||
link.teardown()
|
||||
else:
|
||||
pass
|
||||
|
||||
def receive_resource_callback(resource):
|
||||
sender_identity = resource.link.get_remote_identity()
|
||||
|
Loading…
Reference in New Issue
Block a user