Hash :
1f16488e
Author :
Thomas de Grivel
Date :
2021-11-29T07:27:06
<%= tag :input, type: "hidden", name: "recaptcha" %>
<script src={"https://www.google.com/recaptcha/api.js?render=#{recaptcha_site_key()}"}></script>
<script>
grecaptcha.ready(function() {
grecaptcha.execute('<%= recaptcha_site_key() %>', {action: 'login'}).then(function(token) {
$('input[name="recaptcha"]').val(token);
});
});
</script>