mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 17:02:11 +00:00
loadMostRecentSession
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user