fix error display on domain ownership check

This commit is contained in:
Son Nguyen Kim 2021-08-17 19:39:58 +02:00
parent 9c6f3989a0
commit 59e4dbb6a6

View file

@ -61,6 +61,7 @@ def domain_detail_dns(custom_domain_id):
)
else:
flash("We can't find the needed TXT record", "error")
ownership_ok = False
ownership_errors = txt_records
elif request.form.get("form-name") == "check-mx":