Skip to content

Commit 68dc2b6

Browse files
authored
chore(localizations): Account for all possible cases from not_allowed_access error codes (#5688)
1 parent 33201bf commit 68dc2b6

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.changeset/curly-candles-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/localizations': patch
3+
---
4+
5+
Account for all possible cases from `not_allowed_access` error codes

packages/localizations/src/en-GB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ export const enGB: LocalizationResource = {
621621
form_username_invalid_length: 'Your username must be between 3 and 20 characters long.',
622622
identification_deletion_failed: 'You cannot delete your last identification.',
623623
not_allowed_access:
624-
'You do not have permission to access this page. Please contact support if you believe this is an error.',
624+
"The email address or phone number is not allowed to sign up. This could be due to using '+', '=', '#', or '.' in your email address, using a domain connected with a temporary email service, or being explicitly blocked. If you believe this is an error, please contact support.",
625625
organization_domain_blocked: 'This is a blocked email provider domain. Please use a different one.',
626626
organization_domain_common: 'This is a common email provider domain. Please use a different one.',
627627
organization_domain_exists_for_enterprise_connection: 'This domain is already used for your organisation’s SSO',

packages/localizations/src/en-US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ export const enUS: LocalizationResource = {
614614
form_username_invalid_length: 'Your username must be between {{min_length}} and {{max_length}} characters long.',
615615
identification_deletion_failed: 'You cannot delete your last identification.',
616616
not_allowed_access:
617-
'You do not have permission to access this page. Please contact support if you believe this is an error.',
617+
"The email address or phone number is not allowed to sign up. This could be due to using '+', '=', '#', or '.' in your email address, using a domain connected with a temporary email service, or being explicitly blocked. If you believe this is an error, please contact support.",
618618
organization_domain_blocked: 'This is a blocked email provider domain. Please use a different one.',
619619
organization_domain_common: 'This is a common email provider domain. Please use a different one.',
620620
organization_domain_exists_for_enterprise_connection: 'This domain is already used for your organization’s SSO',

0 commit comments

Comments
 (0)