CoastalCommitsPastes/client/app/(auth)/signup/page.tsx
2022-11-12 00:58:21 -08:00

17 lines
420 B
TypeScript

import Auth from "../components"
import Header from "app/components/header"
import { getRequiresPasscode } from "pages/api/auth/requires-passcode"
const getPasscode = async () => {
return await getRequiresPasscode()
}
export default async function SignUpPage() {
const requiresPasscode = await getPasscode()
return (
<>
<Header />
<Auth page="signup" requiresServerPassword={requiresPasscode} />
</>
)
}