import config from "../../config.ts"; import { Layout } from "../layout.tsx"; interface RegisterProps { error?: string; question?: string; pending?: boolean; } export function Register({ error, question, pending }: RegisterProps) { if (pending) { return ( Create account Your account has been submitted for review. You will be able to log in once an admin approves it. Already have an account? Sign in ); } return ( Create account {!!error && ( {error} )} Username {!!question && ( {question} )} Register with passkey or Password Confirm password Register with password Already have an account? Sign in ); }
Your account has been submitted for review. You will be able to log in once an admin approves it.
Already have an account? Sign in
{error}