Some checks are pending
E2E / Playwright e2e (push) Waiting to run
Add authenticator-validate device picker, captcha/frame stages, WebAuthn utils fix, and recovery query parsing for /reset-password links.
22 lines
596 B
TypeScript
22 lines
596 B
TypeScript
"use client"
|
|
|
|
import { useSearchParams } from "next/navigation"
|
|
import { Suspense } from "react"
|
|
import { ResetPasswordPageContent } from "@/components/auth/reset-password-page-content"
|
|
import { buildRecoveryFlowQuery } from "@/lib/auth/recovery-flow-query"
|
|
|
|
function ResetPasswordContent() {
|
|
const searchParams = useSearchParams()
|
|
const flowQuery = buildRecoveryFlowQuery(searchParams)
|
|
|
|
return <ResetPasswordPageContent flowQuery={flowQuery} />
|
|
}
|
|
|
|
export default function ResetPasswordPage() {
|
|
return (
|
|
<Suspense fallback={null}>
|
|
<ResetPasswordContent />
|
|
</Suspense>
|
|
)
|
|
}
|