about summary refs log tree commit diff
path: root/src/screens/Signup/StepCaptcha/index.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-08-28 11:56:04 -0700
committerGitHub <noreply@github.com>2024-08-28 11:56:04 -0700
commit16d556c3c9f825303be5aa27ab55dd6d386053aa (patch)
tree4049bf84953f353eaa4c795da9d2961005dd412b /src/screens/Signup/StepCaptcha/index.tsx
parent94d2180aaafd2146ee2eae51895a4947311a1c51 (diff)
downloadvoidsky-16d556c3c9f825303be5aa27ab55dd6d386053aa.tar.zst
Ensure captcha verification code gets submitted in signup request (#5010)
Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/screens/Signup/StepCaptcha/index.tsx')
-rw-r--r--src/screens/Signup/StepCaptcha/index.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/Signup/StepCaptcha/index.tsx b/src/screens/Signup/StepCaptcha/index.tsx
index e233d31dd..9050ca061 100644
--- a/src/screens/Signup/StepCaptcha/index.tsx
+++ b/src/screens/Signup/StepCaptcha/index.tsx
@@ -41,10 +41,9 @@ export function StepCaptcha() {
     (code: string) => {
       setCompleted(true)
       logEvent('signup:captchaSuccess', {})
-      const submitTask = {code, mutableProcessed: false}
       dispatch({
         type: 'submit',
-        task: submitTask,
+        task: {verificationCode: code, mutableProcessed: false},
       })
     },
     [dispatch],