mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -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
|
'url':form.options.url
|
||||||
})|raw }}
|
})|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' %}
|
{% include 'visiosoft.theme.base::addons/anomaly/users-module/partials/register-form' %}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
grecaptcha.ready(function() {
|
grecaptcha.ready(function() {
|
||||||
grecaptcha.execute(reCAPTCHASiteKey)
|
grecaptcha.execute(reCAPTCHASiteKey)
|
||||||
.then(function(token) {
|
.then(function(token) {
|
||||||
document.getElementById("recaptcha_token").value = token;
|
$('.recaptcha-token').val(token)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user