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"
|
2022-11-12 19:06:23 -05:00
|
|
|
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()
|
2022-11-11 22:17:44 -05:00
|
|
|
return (
|
2022-11-12 19:06:23 -05:00
|
|
|
<PageWrapper signedIn={false}>
|
2022-11-11 22:17:44 -05:00
|
|
|
<Auth page="signup" requiresServerPassword={requiresPasscode} />
|
2022-11-12 19:06:23 -05:00
|
|
|
</PageWrapper>
|
2022-11-11 22:17:44 -05:00
|
|
|
)
|
2022-11-09 21:38:05 -05:00
|
|
|
}
|