diff --git a/src/components/auth/register-form.tsx b/src/components/auth/register-form.tsx index 21c0f77..c6a6600 100644 --- a/src/components/auth/register-form.tsx +++ b/src/components/auth/register-form.tsx @@ -230,10 +230,12 @@ export const RegisterForm = ({ - form.setValue('captchaToken', token)} - validationError={form.formState.errors.captchaToken?.message} - /> + {turnstileEnabled && ( + form.setValue('captchaToken', token)} + validationError={form.formState.errors.captchaToken?.message} + /> + )}