Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

396 B
Raw Blame
import ChangePasswordForm from './ChangePasswordForm'
import ForgotPasswordForm from './ForgotPasswordForm'

type ForgotPasswordPageProps = {
  searchParams: Promise<{ token?: string | string[] }>
}

export default async function ForgotPassword({ searchParams }: ForgotPasswordPageProps) {
  const { token } = await searchParams
  return token ? <ChangePasswordForm /> : <ForgotPasswordForm />
}