Rev2043, Fix selected domain display
This commit is contained in:
parent
c78af9773c
commit
dafe9981a2
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue