Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): unhide catpcha (#10407)

Ubbe926fd8df2284
diff --git a/autogpt_platform/frontend/src/app/(platform)/login/page.tsx b/autogpt_platform/frontend/src/app/(platform)/login/page.tsx
index cfd2c6513c..ccb0f213f7 100644
--- a/autogpt_platform/frontend/src/app/(platform)/login/page.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/login/page.tsx
@@ -85,7 +85,7 @@ export default function LoginPage() {
/>
{/* Turnstile CAPTCHA Component */}
- {!turnstile.shouldRender && !turnstile.verified ? (
+ {!turnstile.verified ? (
<Turnstile
key={captchaKey}
siteKey={turnstile.siteKey}
diff --git a/autogpt_platform/frontend/src/app/(platform)/reset-password/page.tsx b/autogpt_platform/frontend/src/app/(platform)/reset-password/page.tsx
index eb34cea239..b83f9f77c1 100644
--- a/autogpt_platform/frontend/src/app/(platform)/reset-password/page.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/reset-password/page.tsx
@@ -271,8 +271,7 @@ function ResetPasswordContent() {
/>
{/* Turnstile CAPTCHA Component for reset email */}
- {!sendEmailTurnstile.shouldRender &&
- !sendEmailTurnstile.verified ? (
+ {!sendEmailTurnstile.verified ? (
<Turnstile
key={sendEmailCaptchaKey}
siteKey={sendEmailTurnstile.siteKey}
diff --git a/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx b/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx
index 6db0f718f7..77d82d6d6c 100644
--- a/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/signup/page.tsx
@@ -163,7 +163,7 @@ export default function SignupPage() {
/>
{/* Turnstile CAPTCHA Component */}
- {!turnstile.shouldRender && !turnstile.verified ? (
+ {!turnstile.verified ? (
<Turnstile
key={captchaKey}
siteKey={turnstile.siteKey}