mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2592 üye kayıt formuna capthca eklenmesi
This commit is contained in:
parent
8883913666
commit
356d79dffd
@ -20,7 +20,7 @@
|
||||
'url':form.options.url
|
||||
})|raw }}
|
||||
|
||||
<input type="hidden" name="recaptcha_token" id="recaptcha_token">
|
||||
<input type="hidden" name="recaptcha_token" id="recaptcha_token" class="recaptcha-token">
|
||||
|
||||
{% include 'visiosoft.theme.base::addons/anomaly/users-module/partials/register-form' %}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
grecaptcha.ready(function() {
|
||||
grecaptcha.execute(reCAPTCHASiteKey)
|
||||
.then(function(token) {
|
||||
document.getElementById("recaptcha_token").value = token;
|
||||
$('.recaptcha-token').val(token)
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user