From 7b84d4dacab644f9a93da5649e033272f68f1db7 Mon Sep 17 00:00:00 2001
From: yyh <92089059+lyzno1@users.noreply.github.com>
Date: Mon, 10 Aug 2026 11:13:31 +0800
Subject: [PATCH] fix(web): use primary headings on password reset pages
(#40193)
---
.../webapp-reset-password/check-code/page.tsx | 4 ++--
web/app/(shareLayout)/webapp-reset-password/page.tsx | 4 ++--
.../webapp-reset-password/set-password/page.tsx | 8 ++++----
web/app/forgot-password/ChangePasswordForm.spec.tsx | 4 ++--
web/app/forgot-password/ChangePasswordForm.tsx | 12 ++++++------
web/app/forgot-password/ForgotPasswordForm.spec.tsx | 1 +
web/app/forgot-password/ForgotPasswordForm.tsx | 4 ++--
web/app/reset-password/check-code/page.tsx | 4 ++--
web/app/reset-password/page.tsx | 4 ++--
.../set-password/__tests__/page.spec.tsx | 3 +++
web/app/reset-password/set-password/page.tsx | 8 ++++----
11 files changed, 30 insertions(+), 26 deletions(-)
diff --git a/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx b/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx
index b4228de485a..409e2458afd 100644
--- a/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx
+++ b/web/app/(shareLayout)/webapp-reset-password/check-code/page.tsx
@@ -63,9 +63,9 @@ export default function CheckCode() {
-
+
{t(($) => $['checkCode.checkYourEmail'], { ns: 'login' })}
-
+
{t(($) => $['checkCode.tipsPrefix'], { ns: 'login' })}
diff --git a/web/app/(shareLayout)/webapp-reset-password/page.tsx b/web/app/(shareLayout)/webapp-reset-password/page.tsx
index adccea64f80..517d1b8dcc5 100644
--- a/web/app/(shareLayout)/webapp-reset-password/page.tsx
+++ b/web/app/(shareLayout)/webapp-reset-password/page.tsx
@@ -61,9 +61,9 @@ export default function CheckCode() {
-
+
{t(($) => $.resetPassword, { ns: 'login' })}
-
+
{t(($) => $.resetPasswordDesc, { ns: 'login' })}
diff --git a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
index 9791b5e5ad4..de0f7c65ba1 100644
--- a/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
+++ b/web/app/(shareLayout)/webapp-reset-password/set-password/page.tsx
@@ -81,9 +81,9 @@ const ChangePasswordForm = () => {
{!showSuccess && (
-
+
{t(($) => $.changePassword, { ns: 'login' })}
-
+
{t(($) => $.changePasswordTip, { ns: 'login' })}
@@ -161,9 +161,9 @@ const ChangePasswordForm = () => {
-
+
{t(($) => $.passwordChangedTip, { ns: 'login' })}
-
+