implement prefer_wildcard_cert flag

This commit is contained in:
Milo Schwartz
2024-10-25 22:10:19 -04:00
parent 29b848fd5d
commit a601d6b24f
3 changed files with 23 additions and 6 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) {
if (process.env.NEXT_PUBLIC_FLAGS_EMAIL_VERIFICATION_REQUIRED !== "true") {
redirect("/");
}