Rev2043, Fix selected domain display
This commit is contained in:
parent
c78af9773c
commit
dafe9981a2
2 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.5.3"
|
||||
self.rev = 2042
|
||||
self.rev = 2043
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
|
|
@ -621,8 +621,9 @@ class UiWebsocket(object):
|
|||
|
||||
# Add my certs
|
||||
auth_address = self.user.getAuthAddress(self.site.address) # Current auth address
|
||||
site_data = self.user.getSiteData(self.site.address) # Current auth address
|
||||
for domain, cert in self.user.certs.items():
|
||||
if auth_address == cert["auth_address"]:
|
||||
if auth_address == cert["auth_address"] and domain == site_data.get("cert"):
|
||||
active = domain
|
||||
title = cert["auth_user_name"] + "@" + domain
|
||||
if domain in accepted_domains or not accepted_domains or accept_any:
|
||||
|
|
Loading…
Reference in a new issue