Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Replaced LoginForm with LoginPageContent for improved login handling and user experience. - Introduced ResetPasswordPage and ResetPasswordLayout components to facilitate password reset functionality. - Added new flow stages for authentication, including PasswordStage and SourceOAuthStage, to streamline user interactions. - Updated FlowChallengeForm to integrate new stages and improve error handling during authentication processes. - Refactored existing components to support the new authentication flow structure, enhancing maintainability and user experience.
21 lines
524 B
TypeScript
21 lines
524 B
TypeScript
"use client"
|
|
|
|
import { useSearchParams } from "next/navigation"
|
|
import { Suspense } from "react"
|
|
import { ResetPasswordPageContent } from "@/components/auth/reset-password-page-content"
|
|
|
|
function ResetPasswordContent() {
|
|
const searchParams = useSearchParams()
|
|
const flowQuery = searchParams.toString()
|
|
|
|
return <ResetPasswordPageContent flowQuery={flowQuery || undefined} />
|
|
}
|
|
|
|
export default function ResetPasswordPage() {
|
|
return (
|
|
<Suspense fallback={null}>
|
|
<ResetPasswordContent />
|
|
</Suspense>
|
|
)
|
|
}
|