diff --git a/pitch-deck/app/auth/verify/page.tsx b/pitch-deck/app/auth/verify/page.tsx index cd2b5d3..38ced73 100644 --- a/pitch-deck/app/auth/verify/page.tsx +++ b/pitch-deck/app/auth/verify/page.tsx @@ -21,6 +21,13 @@ function VerifyContent() { async function verify() { try { + // If the investor already has a valid session, skip token verification + const sessionCheck = await fetch('/api/auth/me') + if (sessionCheck.ok) { + router.push('/') + return + } + const res = await fetch('/api/auth/verify', { method: 'POST', headers: { 'Content-Type': 'application/json' },