mirror of https://github.com/MaxLeiter/Drift
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			420 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			420 B
		
	
	
	
		
			TypeScript
		
	
import Auth from "@components/auth"
 | 
						|
import Header from "@components/header"
 | 
						|
import { getRequiresPasscode } from "pages/api/auth/requires-passcode"
 | 
						|
 | 
						|
const getPasscode = async () => {
 | 
						|
	return await getRequiresPasscode()
 | 
						|
}
 | 
						|
 | 
						|
export default async function SignUpPage() {
 | 
						|
	const requiresPasscode = await getPasscode()
 | 
						|
	return (
 | 
						|
		<>
 | 
						|
			<Header />
 | 
						|
			<Auth page="signup" requiresServerPassword={requiresPasscode} />
 | 
						|
		</>
 | 
						|
	)
 | 
						|
}
 |