mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-21 13:03:27 +02:00
Lets support only ReCaptcha v3
Too much mess ;)
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
grecaptcha.ready(function() {
|
||||
grecaptcha.execute('{{ config.recaptcha_site_key }}', {action: '{{ action }}'}).then(function(token) {
|
||||
if (token) {
|
||||
document.getElementById('g-recaptcha-response').value = token;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
Reference in New Issue
Block a user