This commit is contained in:
Milo Schwartz
2024-10-26 17:01:34 -04:00
parent d78312fad8
commit 50d374d9f6
8 changed files with 1735 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ import { redirect } from "next/navigation";
export default async function Page(props: {
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
}) {
if (process.env.NEXT_PUBLIC_FLAGS_EMAIL_VERIFICATION_REQUIRED !== "true") {
if (process.env.PUBLIC_FLAGS_EMAIL_VERIFICATION_REQUIRED !== "true") {
redirect("/");
}