From 9c6f3989a073fd5e9c9b56b13774525421cf56e5 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Tue, 17 Aug 2021 19:19:49 +0200 Subject: [PATCH] remove hack --- app/dashboard/views/domain_detail.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/dashboard/views/domain_detail.py b/app/dashboard/views/domain_detail.py index ed0c915a..1d307966 100644 --- a/app/dashboard/views/domain_detail.py +++ b/app/dashboard/views/domain_detail.py @@ -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",