mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 06:52:24 +00:00
dynamic and revalidate
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getBrandingSettings, getSession, sessionService } from "@/lib/zitadel";
|
||||
import { getBrandingSettings, sessionService } from "@/lib/zitadel";
|
||||
import Alert, { AlertType } from "@/ui/Alert";
|
||||
import DynamicTheme from "@/ui/DynamicTheme";
|
||||
import RegisterPasskey from "@/ui/RegisterPasskey";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
getBrandingSettings,
|
||||
getLoginSettings,
|
||||
getSession,
|
||||
sessionService,
|
||||
} from "@/lib/zitadel";
|
||||
import Alert from "@/ui/Alert";
|
||||
|
||||
@@ -7,10 +7,8 @@ import { getSessionCookieById, loadMostRecentSession } from "@zitadel/next";
|
||||
|
||||
export default async function Page({
|
||||
searchParams,
|
||||
params,
|
||||
}: {
|
||||
searchParams: Record<string | number | symbol, string | undefined>;
|
||||
params: Record<string | number | symbol, string | undefined>;
|
||||
}) {
|
||||
const { loginName, authRequestId, sessionId, organization } = searchParams;
|
||||
|
||||
|
||||
@@ -4,16 +4,8 @@ import VerifyEmailForm from "@/ui/VerifyEmailForm";
|
||||
import { ExclamationTriangleIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
export default async function Page({ searchParams }: { searchParams: any }) {
|
||||
const {
|
||||
userId,
|
||||
sessionId,
|
||||
code,
|
||||
submit,
|
||||
organization,
|
||||
authRequestId,
|
||||
loginname,
|
||||
passwordset,
|
||||
} = searchParams;
|
||||
const { userId, sessionId, code, submit, organization, authRequestId } =
|
||||
searchParams;
|
||||
|
||||
const branding = await getBrandingSettings(organization);
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
export const revalidate = false;
|
||||
|
||||
import {
|
||||
createCallback,
|
||||
getActiveIdentityProviders,
|
||||
|
||||
Reference in New Issue
Block a user