Skip to content

Commit

Permalink
Allow the use of DNS CNAME to verify ownership of domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
John committed May 23, 2018
1 parent e9e36d5 commit 12ad706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/CommonHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static function checkDNSChallenge($domain, $dnsContent)
{
foreach ($recordList as $record)
{
if ($record['host'] == $host && $record['type'] == 'TXT' && $record['txt'] == $dnsContent)
if ($record['type'] == 'TXT' && $record['txt'] == $dnsContent)
{
return TRUE;
}
Expand Down

0 comments on commit 12ad706

Please sign in to comment.