mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #31214 from overleaf/ii-domain-capture-error-when-email-not-on-account
[web] Error message change when email not on account GitOrigin-RevId: 25cd57819fc82818189d9c1b5bd2924250af729a
This commit is contained in:
@@ -367,6 +367,7 @@
|
||||
"create": "",
|
||||
"create_a_new_project": "",
|
||||
"create_account": "",
|
||||
"create_new_account": "",
|
||||
"create_new_subscription": "",
|
||||
"create_new_tag": "",
|
||||
"create_project_in_github": "",
|
||||
@@ -1550,7 +1551,7 @@
|
||||
"role": "",
|
||||
"rolling_texlive_build": "",
|
||||
"saml_auth_error": "",
|
||||
"saml_email_not_in_account_error_managed_users": "",
|
||||
"saml_email_not_in_account_error_managed_users_2": "",
|
||||
"saml_identity_exists_error": "",
|
||||
"saml_invalid_signature_error": "",
|
||||
"saml_login_disabled_error": "",
|
||||
|
||||
@@ -2007,7 +2007,7 @@
|
||||
"saml_authentication_required_error": "Other login methods have been disabled by your group administrator. Please use your group SSO login.",
|
||||
"saml_commons_unavailable": "Institution SSO is currently unavailable. For more details, please see <0>__linkText__</0>.",
|
||||
"saml_create_admin_instructions": "Choose an email address for the first __appName__ admin account. This should correspond to an account in the SAML system. You will then be asked to log in with this account.",
|
||||
"saml_email_not_in_account_error_managed_users": "Your organization’s identity provider returned <0>__email__</0>. You will need to use this address to create an account via SSO. You can <1>transfer your existing projects</1> to the new account.",
|
||||
"saml_email_not_in_account_error_managed_users_2": "Your email address <0>__userEmail__</0> was not recognized. Your organization’s identity provider returned <1>__samlEmail__</1>. You will need to log out of <0>__userEmail__</0> and use <1>__samlEmail__</1> to create an account via SSO. You can <2>transfer your existing projects</2> to the new account.",
|
||||
"saml_email_not_recognized_error": "This email address isn’t set up for SSO. Please check it and try again or contact your administrator.",
|
||||
"saml_email_on_another_account_error": "Your identity provider returned __email__, which is on another __appName__ account. Please log out and log in with the other account to join your __teamName__ enterprise group.",
|
||||
"saml_identity_exists_error": "Sorry, the identity returned by your identity provider is already linked with a different Overleaf account. Please contact your administrator for more information.",
|
||||
|
||||
@@ -125,9 +125,10 @@ describe('<DomainCapture />', function () {
|
||||
|
||||
cy.findByRole('alert').should(
|
||||
'contain.text',
|
||||
`Your organization’s identity provider returned ${institutionEmail}. ` +
|
||||
`You will need to use this address to create an account via SSO. You can ` +
|
||||
`transfer your existing projects to the new account.`
|
||||
`Your email address ${this.email} was not recognized. ` +
|
||||
`Your organization’s identity provider returned ${institutionEmail}. ` +
|
||||
`You will need to log out of ${this.email} and use ${institutionEmail} to create an account via SSO. ` +
|
||||
`You can transfer your existing projects to the new account.`
|
||||
)
|
||||
cy.findByRole('link', {
|
||||
name: /transfer your existing projects/i,
|
||||
|
||||
Reference in New Issue
Block a user