From 46446ecac5fe3c54c7b5f4b40f8991fbbd723d7f Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 01:18:14 +0000 Subject: [PATCH] Add forgot password state and handlers cgen-6a0c8c331a284edf9f1856c4ac343379 --- client/pages/Login.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index 08f51cc7..28442959 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -48,8 +48,10 @@ export default function Login() { const [manualVerificationLink, setManualVerificationLink] = useState< string | null >(null); + const [showReset, setShowReset] = useState(false); + const [resetEmail, setResetEmail] = useState(""); const navigate = useNavigate(); - const { signIn, signUp, signInWithOAuth, user, loading, profileComplete } = + const { signIn, signUp, signInWithOAuth, user, loading, profileComplete, requestPasswordReset } = useAuth(); const { info: toastInfo, error: toastError } = useAethexToast();