From 1f9a8489f75f867887bb401f43a0f11503945e47 Mon Sep 17 00:00:00 2001 From: Bentlybro Date: Mon, 16 Feb 2026 12:21:13 +0000 Subject: [PATCH] fix: final review feedback - Fix copy: 'Click below' instead of 'Enter your email below' (email field not visible yet) - Encode 'Missing verification code' error param for consistency --- .../frontend/src/app/api/auth/callback/reset-password/route.ts | 2 +- .../frontend/src/components/auth/ExpiredLinkMessage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt_platform/frontend/src/app/api/auth/callback/reset-password/route.ts b/autogpt_platform/frontend/src/app/api/auth/callback/reset-password/route.ts index 9947b5e888..ddb360ff20 100644 --- a/autogpt_platform/frontend/src/app/api/auth/callback/reset-password/route.ts +++ b/autogpt_platform/frontend/src/app/api/auth/callback/reset-password/route.ts @@ -10,7 +10,7 @@ export async function GET(request: NextRequest) { if (!code) { return NextResponse.redirect( - `${origin}/reset-password?error=Missing verification code`, + `${origin}/reset-password?error=${encodeURIComponent("Missing verification code")}`, ); } diff --git a/autogpt_platform/frontend/src/components/auth/ExpiredLinkMessage.tsx b/autogpt_platform/frontend/src/components/auth/ExpiredLinkMessage.tsx index 0e297bbf7e..57614a5823 100644 --- a/autogpt_platform/frontend/src/components/auth/ExpiredLinkMessage.tsx +++ b/autogpt_platform/frontend/src/components/auth/ExpiredLinkMessage.tsx @@ -13,7 +13,7 @@ export function ExpiredLinkMessage({ onRequestNewLink }: Props) { Your reset password link has expired or has already been used - Enter your email below to request a new password reset link. + Click below to request a new password reset link.