From cd7b93a51eb204b05c71bf6a3715b22c7fe3defd Mon Sep 17 00:00:00 2001 From: Anwar Sadath <37188392+asadath1395@users.noreply.github.com> Date: Fri, 27 Dec 2024 00:50:11 +0530 Subject: [PATCH] fix: Last used label in button shown in 2-factor code and backup screen (#18341) --- apps/web/modules/auth/login-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/modules/auth/login-view.tsx b/apps/web/modules/auth/login-view.tsx index 478ec4523e..0f8ba9628e 100644 --- a/apps/web/modules/auth/login-view.tsx +++ b/apps/web/modules/auth/login-view.tsx @@ -282,7 +282,7 @@ PageProps & WithNonceProps<{}>) { disabled={formState.isSubmitting} className="w-full justify-center"> {twoFactorRequired ? t("submit") : t("sign_in")} - {lastUsed === "credentials" && } + {lastUsed === "credentials" && !twoFactorRequired && }