Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pe7er/hCaptcha
Browse files Browse the repository at this point in the history
  • Loading branch information
pe7er committed Nov 20, 2020
2 parents c7fe83a + 233c5ba commit 7e218ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function onDisplay($name = null, $id = 'hcaptcha', $class = '')
$dom = new \DOMDocument('1.0', 'UTF-8');
$ele = $dom->createElement('div');
$ele->setAttribute('id', $id);
$ele->setAttribute('class', 'h-captcha');
$ele->setAttribute('class', 'h-captcha required');
$ele->setAttribute('data-sitekey', $this->params->get('publicKey', ''));
$ele->setAttribute('data-theme', $this->params->get('theme', 'light'));
$ele->setAttribute('data-size', $this->params->get('size', 'normal'));
Expand Down

0 comments on commit 7e218ea

Please sign in to comment.