12 lines
380 B
TypeScript
12 lines
380 B
TypeScript
import Auth from "@components/auth"
|
|
import config from "@lib/config"
|
|
import { getRequiresPasscode } from "pages/api/auth/requires-passcode"
|
|
|
|
const getPasscode = async () => {
|
|
return await getRequiresPasscode()
|
|
}
|
|
|
|
export default async function SignUpPage() {
|
|
const requiresPasscode = await getPasscode()
|
|
return <Auth page="signup" requiresServerPassword={requiresPasscode} />
|
|
}
|