Gregniuki commited on
Commit
8bd7b03
·
1 Parent(s): 493040d

Update templates/register.html

Browse files
Files changed (1) hide show
  1. templates/register.html +3 -2
templates/register.html CHANGED
@@ -68,8 +68,7 @@
68
  }
69
  // If fields are filled, form will proceed to submit
70
  // reCAPTCHA validation will be handled automatically by Google's script
71
- });
72
- var formData = new FormData(this);
73
  fetch('/register', {
74
  method: 'POST',
75
  body: formData)
@@ -86,6 +85,8 @@
86
  });
87
  });
88
 
 
 
89
  function storeAccessToken(token) {
90
  // Implement your token storage logic here
91
  console.log("Token stored:", token);
 
68
  }
69
  // If fields are filled, form will proceed to submit
70
  // reCAPTCHA validation will be handled automatically by Google's script
71
+ var formData = new FormData(this);
 
72
  fetch('/register', {
73
  method: 'POST',
74
  body: formData)
 
85
  });
86
  });
87
 
88
+
89
+ });
90
  function storeAccessToken(token) {
91
  // Implement your token storage logic here
92
  console.log("Token stored:", token);