Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix build

Kiran K38c94fbeec49
diff --git a/apps/web/app/app.dub.co/(auth)/auth/confirm-email-change/[token]/page.tsx b/apps/web/app/app.dub.co/(auth)/auth/confirm-email-change/[token]/page.tsx
index bf31dd87e2..63353fe27a 100644
--- a/apps/web/app/app.dub.co/(auth)/auth/confirm-email-change/[token]/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/auth/confirm-email-change/[token]/page.tsx
@@ -112,16 +112,6 @@ const VerifyEmailChange = async ({ params, searchParams }: PageProps) => {
);
}
- if (tokenFound.identifier !== identifier) {
- return (
- <EmptyState
- icon={InputPassword}
- title="Invalid Token"
- description="This token is invalid or expired. Please request a new one."
- />
- );
- }
-
const data = await redis.get<{
email: string;
newEmail: string;