1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-25 02:47:04 +00:00

Remove a debug line added in 8cda58fb

This commit is contained in:
Joshua Tauberer 2021-05-09 07:34:44 -04:00
parent aaa81ec879
commit 354a774989

View File

@ -360,7 +360,6 @@ def is_domain_cert_signed_and_valid(domain, env):
cert = get_ssl_certificates(env).get(domain) cert = get_ssl_certificates(env).get(domain)
if not cert: return False # no certificate provisioned if not cert: return False # no certificate provisioned
cert_status = check_certificate(domain, cert['certificate'], cert['private-key']) cert_status = check_certificate(domain, cert['certificate'], cert['private-key'])
print(domain, cert_status)
return cert_status[0] == 'OK' return cert_status[0] == 'OK'
######################################################################## ########################################################################