revamping frontend logging system and reorganising documentation
This commit is contained in:
@@ -286,7 +286,7 @@ class VendorDomainService:
|
||||
Verify domain ownership via DNS TXT record.
|
||||
|
||||
The vendor must add a TXT record:
|
||||
Name: _letzshop-verify.{domain}
|
||||
Name: _wizamart-verify.{domain}
|
||||
Value: {verification_token}
|
||||
|
||||
Args:
|
||||
@@ -313,7 +313,7 @@ class VendorDomainService:
|
||||
# Query DNS TXT records
|
||||
try:
|
||||
txt_records = dns.resolver.resolve(
|
||||
f"_letzshop-verify.{domain.domain}",
|
||||
f"_wizamart-verify.{domain.domain}",
|
||||
'TXT'
|
||||
)
|
||||
|
||||
@@ -339,7 +339,7 @@ class VendorDomainService:
|
||||
except dns.resolver.NXDOMAIN:
|
||||
raise DomainVerificationFailedException(
|
||||
domain.domain,
|
||||
f"DNS record _letzshop-verify.{domain.domain} not found"
|
||||
f"DNS record _wizamart-verify.{domain.domain} not found"
|
||||
)
|
||||
except dns.resolver.NoAnswer:
|
||||
raise DomainVerificationFailedException(
|
||||
@@ -394,7 +394,7 @@ class VendorDomainService:
|
||||
},
|
||||
"txt_record": {
|
||||
"type": "TXT",
|
||||
"name": "_letzshop-verify",
|
||||
"name": "_wizamart-verify",
|
||||
"value": domain.verification_token,
|
||||
"ttl": 3600
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user