♻️ remove cache on verifySession calls as it's already wrapped in cache

This commit is contained in:
Fred KISSIE
2026-07-03 21:05:47 +02:00
parent bb4deb1ae9
commit 05bf77da29
2 changed files with 2 additions and 6 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ export default async function Page(props: {
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
}) {
const searchParams = await props.searchParams;
const getUser = cache(verifySession);
const user = await getUser({ skipCheckVerifyEmail: true });
const user = await verifySession({ skipCheckVerifyEmail: true });
const isInvite = searchParams?.redirect?.includes("/invite");
const forceLoginParam = searchParams?.forceLogin;