Fix minor booboo in account creation form submission
[ndcode_site.git] / my_account / sign_up / index.html.jst
index 6be661d..abe98d4 100644 (file)
@@ -106,12 +106,12 @@ return async env => {
                     document.getElementById('family-name').reportValidity() &&
                     document.getElementById('email').reportValidity() &&
                     document.getElementById('password').reportValidity() &&
-                    document.getElementById('verification').reportValidity()
+                    document.getElementById('verification-code').reportValidity()
                 ) {
                   try {
                     await sign_up(
                       document.getElementById('email').value,
-                      document.getElementById('verification').value
+                      document.getElementById('verification-code').value
                       document.getElementById('given-names').value,
                       document.getElementById('family-name').value,
                       document.getElementById('password').value