:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(auth): add inline email 2fa resend confirmation (#66618)
posthog[bot]43f98d04d8e0
diff --git a/frontend/src/scenes/authentication/login/variants/paper-desk/PaperDeskLogin.tsx b/frontend/src/scenes/authentication/login/variants/paper-desk/PaperDeskLogin.tsxindex 9e2dfab5e1aa..be93e4f981bb 100644--- a/frontend/src/scenes/authentication/login/variants/paper-desk/PaperDeskLogin.tsx+++ b/frontend/src/scenes/authentication/login/variants/paper-desk/PaperDeskLogin.tsx@@ -3,6 +3,8 @@ import { Form } from 'kea-forms'import { useEffect } from 'react'import { twMerge } from 'tailwind-merge'+import { IconCheckCircle } from '@posthog/icons'+import { getCookie } from 'lib/api'import { SocialLoginButtons, SSOEnforcedLoginButton } from 'lib/components/SocialLoginButton/SocialLoginButton'import { supportLogic } from 'lib/components/Support/supportLogic'@@ -39,6 +41,7 @@ function Login(): JSX.Element {generalError,signupUrl,resendResponseLoading,+ resendResponse,} = useValues(loginLogic)const { preflight } = useValues(preflightLogic)@@ -119,6 +122,7 @@ function Login(): JSX.Element {<div className="flex flex-col items-center gap-3"><LemonButtonsize="large"+ type="secondary"centerfullWidthdisabled={resendResponseLoading}@@ -127,6 +131,12 @@ function Login(): JSX.Element {>Resend verification email</LemonButton>+ {resendResponse?.success && (+ <p className="flex items-center gap-1 text-success mb-0" role="status">+ <IconCheckCircle />+ Verification email sent — check your inbox.+ </p>+ )}<LinkonClick={() => clearGeneralError()}className="font-semibold no-underline cursor-pointer hover:underline hover:underline-offset-2 text-secondary"