Fix minor booboo in account creation form submission
authorNick Downing <nick@ndcode.org>
Thu, 13 Jan 2022 03:29:09 +0000 (14:29 +1100)
committerNick Downing <nick@ndcode.org>
Thu, 13 Jan 2022 03:29:09 +0000 (14:29 +1100)
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