mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-04 23:25:27 -04:00
Added page authentication
This commit is contained in:
parent
886c23c21f
commit
3eaeb42bf6
4 changed files with 97 additions and 16 deletions
|
@ -643,6 +643,10 @@ class Browser:
|
|||
def link_established(self, link):
|
||||
self.status = Browser.LINK_ESTABLISHED
|
||||
|
||||
if self.app.directory.should_identify_on_connect(self.destination_hash):
|
||||
RNS.log("Link established, identifying to remote system...", RNS.LOG_VERBOSE)
|
||||
self.link.identify(self.app.identity)
|
||||
|
||||
|
||||
def link_closed(self, link):
|
||||
if self.status == Browser.DISCONECTED or self.status == Browser.DONE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue