Gregniuki commited on
Commit
04c30f6
·
1 Parent(s): 84afda5

Update templates/register.html

Browse files
Files changed (1) hide show
  1. templates/register.html +5 -7
templates/register.html CHANGED
@@ -29,12 +29,10 @@
29
 
30
 
31
  </form>
32
- <script>
33
- grecaptcha.enterprise.ready(function() {
34
- grecaptcha.enterprise.execute('6LdaUQIpAAAAACQFcOxakEVXK9QHpaYbic6IClNO', {action: 'submit'}).then(function(token) {
35
- // Add your logic to submit the token to your server here
36
- document.getElementById("recaptcha_token").value = token;
37
- });
38
- </script>
39
  </body>
40
  </html>
 
29
 
30
 
31
  </form>
32
+ <script>
33
+ function onSubmit() {
34
+ document.getElementById("registration-form").submit();
35
+ }
36
+ </script>
 
 
37
  </body>
38
  </html>