Make cert domains case sensitive

This commit is contained in:
shortcutme 2018-11-08 01:12:27 +01:00
parent cf7d194dbf
commit 92e3c028bb
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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 = {