Make cert domains case sensitive
This commit is contained in:
parent
cf7d194dbf
commit
92e3c028bb
1 changed files with 0 additions and 1 deletions
|
@ -121,7 +121,6 @@ class User(object):
|
||||||
|
|
||||||
# Add cert for the user
|
# Add cert for the user
|
||||||
def addCert(self, auth_address, domain, auth_type, auth_user_name, cert_sign):
|
def addCert(self, auth_address, domain, auth_type, auth_user_name, cert_sign):
|
||||||
domain = domain.lower()
|
|
||||||
# Find privatekey by auth address
|
# Find privatekey by auth address
|
||||||
auth_privatekey = [site["auth_privatekey"] for site in self.sites.values() if site["auth_address"] == auth_address][0]
|
auth_privatekey = [site["auth_privatekey"] for site in self.sites.values() if site["auth_address"] == auth_address][0]
|
||||||
cert_node = {
|
cert_node = {
|
||||||
|
|
Loading…
Reference in a new issue