mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-25 06:44:27 +02:00
♻️ remove cache on verifySession calls as it's already wrapped in cache
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user