mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
11 lines
329 B
Text
11 lines
329 B
Text
<form method="POST" action="%s" id="form">
|
|
<input type="hidden" name="token" id="token">
|
|
</form>
|
|
<script>
|
|
grecaptcha.ready(function() {
|
|
grecaptcha.execute('%s', {action: 'recaptcha'}).then(function(token) {
|
|
document.getElementById("token").value = token;
|
|
document.getElementById("form").submit();
|
|
});;
|
|
});
|
|
</script>
|