diff --git a/web/default/src/features/auth/sign-up/components/sign-up-form.tsx b/web/default/src/features/auth/sign-up/components/sign-up-form.tsx index b5ebd0b8..6db51347 100644 --- a/web/default/src/features/auth/sign-up/components/sign-up-form.tsx +++ b/web/default/src/features/auth/sign-up/components/sign-up-form.tsx @@ -148,6 +148,8 @@ export function SignUpForm({ } } + if (!validateTurnstile()) return + setIsLoading(true) try { const res = await register({ @@ -318,18 +320,19 @@ export function SignUpForm({ - {/* Turnstile */} - {isTurnstileEnabled && ( -
- -
- )} )} + {/* Turnstile */} + {isTurnstileEnabled && ( +
+ +
+ )} +