option to log out if on verify email screen

This commit is contained in:
miloschwartz
2025-06-25 16:44:23 -04:00
parent bd3d9d2da3
commit d194e230de
3 changed files with 71 additions and 65 deletions

View File

@@ -20,7 +20,7 @@ export default async function Page(props: {
}) {
const searchParams = await props.searchParams;
const getUser = cache(verifySession);
const user = await getUser();
const user = await getUser({ skipCheckVerifyEmail: true });
const isInvite = searchParams?.redirect?.includes("/invite");