Skip to content

Commit

Permalink
Pub key incl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Exhibitioner committed Mar 23, 2018
1 parent 5ce2b49 commit 05bf4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/recaptcha/recaptchalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ function CheckCaptcha($key, $response) {

}

function recaptcha_get_html(){
function recaptcha_get_html($pubKey){
return "
<script src='https://www.google.com/recaptcha/api.js'></script>
<br /> <div class='g-recaptcha' data-theme='dark' data-sitekey='6LelWk4UAAAAAGaBJWFusnIlAVoaCK8DWnRBDE4g'></div>
<br /> <div class='g-recaptcha' data-theme='dark' data-sitekey='" . $pubKey . "'></div>
";
}

Expand Down

0 comments on commit 05bf4d1

Please sign in to comment.