mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
* feat(registration): allow self-hosted users to disable registration altogether * updated tests * fix build
18 lines
527 B
TypeScript
18 lines
527 B
TypeScript
import { isEmailVerificationEnabled, isProd } from '@/lib/core/config/feature-flags'
|
|
import { hasEmailService } from '@/lib/messaging/email/mailer'
|
|
import { VerifyContent } from '@/app/(auth)/verify/verify-content'
|
|
|
|
export const dynamic = 'force-dynamic'
|
|
|
|
export default function VerifyPage() {
|
|
const emailServiceConfigured = hasEmailService()
|
|
|
|
return (
|
|
<VerifyContent
|
|
hasEmailService={emailServiceConfigured}
|
|
isProduction={isProd}
|
|
isEmailVerificationEnabled={isEmailVerificationEnabled}
|
|
/>
|
|
)
|
|
}
|