remove hack

This commit is contained in:
Son Nguyen Kim 2021-08-17 19:19:49 +02:00
parent aa041708e3
commit 9c6f3989a0
1 changed files with 1 additions and 2 deletions

View File

@ -45,8 +45,7 @@ def domain_detail_dns(custom_domain_id):
if request.form.get("form-name") == "check-ownership":
txt_records = get_txt_record(custom_domain.domain)
# if custom_domain.get_ownership_dns_txt_value() in txt_records:
if True:
if custom_domain.get_ownership_dns_txt_value() in txt_records:
flash(
"Domain ownership is verified. Please proceed to the other records setup",
"success",