2022-11-09 21:38:05 -05:00
|
|
|
import Auth from "@components/auth"
|
2022-11-11 22:17:44 -05:00
|
|
|
import Header from "@components/header"
|
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-11 22:17:44 -05:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Header />
|
|
|
|
<Auth page="signup" requiresServerPassword={requiresPasscode} />
|
|
|
|
</>
|
|
|
|
)
|
2022-11-09 21:38:05 -05:00
|
|
|
}
|