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

18 lines
493 B
TypeScript
Raw Normal View History

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