From e80c7632f8aa3a550a3d2a2b9b79fb5730591a09 Mon Sep 17 00:00:00 2001 From: Vaggelis Yfantis Date: Wed, 26 Mar 2025 13:40:23 +0200 Subject: [PATCH 1/3] fix(localization): Define that you have to enter the current password --- packages/localizations/src/en-US.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/localizations/src/en-US.ts b/packages/localizations/src/en-US.ts index 3708d5ee3ab..f541b93f849 100644 --- a/packages/localizations/src/en-US.ts +++ b/packages/localizations/src/en-US.ts @@ -311,7 +311,7 @@ export const enUS: LocalizationResource = { }, password: { actionLink: 'Use another method', - subtitle: 'Enter your password to continue', + subtitle: 'Enter your current password to continue', title: 'Verification required', }, phoneCode: { From a9af8b41f94b5033413dc7de7ed60b3281f5ba27 Mon Sep 17 00:00:00 2001 From: Vaggelis Yfantis Date: Wed, 26 Mar 2025 13:43:28 +0200 Subject: [PATCH 2/3] chore(repo): Adds changeset --- .changeset/tame-clowns-brush.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tame-clowns-brush.md diff --git a/.changeset/tame-clowns-brush.md b/.changeset/tame-clowns-brush.md new file mode 100644 index 00000000000..61ade9959bb --- /dev/null +++ b/.changeset/tame-clowns-brush.md @@ -0,0 +1,5 @@ +--- +'@clerk/localizations': patch +--- + +Defines that the current password should be entered on password re-verifcation flow From 85efbace9c3ddd125ca1166b663fce18bdfeb024 Mon Sep 17 00:00:00 2001 From: Vaggelis Yfantis Date: Wed, 26 Mar 2025 13:48:42 +0200 Subject: [PATCH 3/3] chore(localizations,tests): Fix tests and change it to en-GB and bg-BG --- .../components/UserVerification/__tests__/UVFactorOne.test.tsx | 2 +- packages/localizations/src/bg-BG.ts | 2 +- packages/localizations/src/en-GB.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/clerk-js/src/ui/components/UserVerification/__tests__/UVFactorOne.test.tsx b/packages/clerk-js/src/ui/components/UserVerification/__tests__/UVFactorOne.test.tsx index dffd8e052ca..c93e5d97f80 100644 --- a/packages/clerk-js/src/ui/components/UserVerification/__tests__/UVFactorOne.test.tsx +++ b/packages/clerk-js/src/ui/components/UserVerification/__tests__/UVFactorOne.test.tsx @@ -28,7 +28,7 @@ describe('UserVerificationFactorOne', () => { await waitFor(() => { getByText('Verification required'); - getByText('Enter your password to continue'); + getByText('Enter your current password to continue'); getByLabelText(/^password/i); }); }); diff --git a/packages/localizations/src/bg-BG.ts b/packages/localizations/src/bg-BG.ts index 699a9b71880..e48ed2e44a5 100644 --- a/packages/localizations/src/bg-BG.ts +++ b/packages/localizations/src/bg-BG.ts @@ -321,7 +321,7 @@ export const bgBG: LocalizationResource = { }, password: { actionLink: 'Use another method', - subtitle: 'Enter your password to continue using "{{applicationName}}"', + subtitle: 'Enter your current password to continue using "{{applicationName}}"', title: 'Enter your password', }, phoneCode: { diff --git a/packages/localizations/src/en-GB.ts b/packages/localizations/src/en-GB.ts index 208fb79a060..922ccb94d07 100644 --- a/packages/localizations/src/en-GB.ts +++ b/packages/localizations/src/en-GB.ts @@ -322,7 +322,7 @@ export const enGB: LocalizationResource = { }, password: { actionLink: 'Use another method', - subtitle: 'Enter your password to continue', + subtitle: 'Enter your current password to continue', title: 'Verification required', }, phoneCode: {