Skip to content

Commit

Permalink
feat(localizations): Update email link client_mistmatch messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhong9723 committed May 13, 2024
1 parent 0ef7992 commit c63b451
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-laws-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/localizations': minor
---

Added new keys for email link verification under `signIn.emailLink.clientMismatch` and `signUp.emailLink.clientMismatch`
3 changes: 1 addition & 2 deletions .changeset/tricky-tomatoes-repair.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
'@clerk/localizations': minor
'@clerk/clerk-js': minor
'@clerk/shared': minor
'@clerk/types': minor
---

Introduce new `client_mismatch` verification status for email link sign in and sign up
Introduce new `client_mismatch` verification status for email link sign-in and sign-up. This error (and its message) will be shown if a verification link was opened in another device/browser from which the user initiated the sign-in/sign-up attempt. This functionality needs to be enabled in the Clerk dashboard.
8 changes: 4 additions & 4 deletions packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ export const enUS: LocalizationResource = {
},
clientMismatch: {
subtitle:
'Open the verification link on the device and browser from which you initiatied the sign in to continue',
title: 'This verification link is invalid for this device',
'To continue, open the verification link on the device and browser from which you initiated the sign-in',
title: 'Verification link is invalid for this device',
},
},
forgotPassword: {
Expand Down Expand Up @@ -433,8 +433,8 @@ export const enUS: LocalizationResource = {
},
clientMismatch: {
subtitle:
'Open the verification link on the device and browser from which you initiatied the sign up to continue',
title: 'This verification link is invalid for this device',
'To continue, open the verification link on the device and browser from which you initiated the sign-up',
title: 'Verification link is invalid for this device',
},
},
phoneCode: {
Expand Down

0 comments on commit c63b451

Please sign in to comment.