From a694202c4690e2a95c3fb58918baab54303d7a0b Mon Sep 17 00:00:00 2001 From: swalihkolakkadan <164868675+swalihkolakkadan@users.noreply.github.com> Date: Fri, 13 Mar 2026 13:05:12 +0530 Subject: [PATCH] fix: add "Use a different email" button to verify-email page (#28398) * fix: add "Use a different email" button to verify-email page Closes #28393 * fix: address review feedback on verify-email page - Use signOut({ callbackUrl }) instead of manual redirect - Stack buttons vertically with flex-col --------- Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com> --- apps/web/modules/auth/verify-email-view.tsx | 31 +++++++++++++-------- packages/i18n/locales/en/common.json | 1 + 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/apps/web/modules/auth/verify-email-view.tsx b/apps/web/modules/auth/verify-email-view.tsx index 7b8c114b39..12e492d485 100644 --- a/apps/web/modules/auth/verify-email-view.tsx +++ b/apps/web/modules/auth/verify-email-view.tsx @@ -1,6 +1,6 @@ "use client"; -import { useSession } from "next-auth/react"; +import { signOut, useSession } from "next-auth/react"; import { useRouter } from "next/navigation"; import posthog from "posthog-js"; import { useEffect } from "react"; @@ -83,16 +83,25 @@ function VerifyEmailPage() { ))} - +