summaryrefslogtreecommitdiff
path: root/templates/captcha.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/captcha.tpl')
-rw-r--r--templates/captcha.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/captcha.tpl b/templates/captcha.tpl
index ea4c1e4..ed07145 100644
--- a/templates/captcha.tpl
+++ b/templates/captcha.tpl
@@ -44,7 +44,8 @@
{formlabel label="Are you human?" for="recaptcha"}
{forminput}
{formfeedback error=$errors.recaptcha}
- {recaptcha_get_html($gBitSystem->getConfig('users_register_recaptcha_public_key'),$errors.recaptcha,!empty($smarty.server.HTTPS))}
+ <script src="https://www.google.com/recaptcha/api.js" async defer></script>
+ <div class="g-recaptcha" data-sitekey="{$gBitSystem->getConfig('users_register_recaptcha_site_key')}"></div>
{formhelp note="Sorry, we have to ask."}
{/forminput}
</div>