mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
16 lines
528 B
TypeScript
16 lines
528 B
TypeScript
import { isInviteCodeRequired } from '@/lib/feature-flags';
|
|
import RegisterPageClient from './register-page-client';
|
|
|
|
export default function RegisterPage() {
|
|
const googleEnabled = Boolean(process.env.GOOGLE_CLIENT_ID && process.env.GOOGLE_CLIENT_SECRET);
|
|
const githubEnabled = Boolean(process.env.GITHUB_CLIENT_ID && process.env.GITHUB_CLIENT_SECRET);
|
|
|
|
return (
|
|
<RegisterPageClient
|
|
requireInviteCode={isInviteCodeRequired()}
|
|
googleEnabled={googleEnabled}
|
|
githubEnabled={githubEnabled}
|
|
/>
|
|
);
|
|
}
|