Hash :
c5b0aca3
Author :
Thomas de Grivel
Date :
2021-12-09T11:24:45
<%= 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: 'reset_password'}).then(function(token) {
$('input[name="recaptcha"]').val(token);
});
});
</script>