CoastalCommitsPastes/client/app/(auth)/signup/page.tsx

12 lines
346 B
TypeScript
Raw Normal View History

2022-11-12 03:58:21 -05:00
import Auth from "../components"
2022-11-09 21:38:05 -05:00
import { getRequiresPasscode } from "pages/api/auth/requires-passcode"
const getPasscode = async () => {
return await getRequiresPasscode()
}
export default async function SignUpPage() {
const requiresPasscode = await getPasscode()
2022-11-12 21:39:03 -05:00
return (<Auth page="signup" requiresServerPassword={requiresPasscode} />)
2022-11-09 21:38:05 -05:00
}