loadMostRecentSession

This commit is contained in:
peintnermax
2024-09-05 14:02:08 +02:00
parent 28dde6d696
commit 82c8d08360
8 changed files with 15 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
import { loadMostRecentSession } from "@/lib/session";
import { getBrandingSettings, sessionService } from "@/lib/zitadel";
import { getBrandingSettings } from "@/lib/zitadel";
import Alert from "@/ui/Alert";
import DynamicTheme from "@/ui/DynamicTheme";
import RegisterU2F from "@/ui/RegisterU2F";
@@ -12,7 +12,7 @@ export default async function Page({
}) {
const { loginName, organization, authRequestId } = searchParams;
const sessionFactors = await loadMostRecentSession(sessionService, {
const sessionFactors = await loadMostRecentSession({
loginName,
organization,
});