mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #26809 from overleaf/rh-email-already-registered
Update 'email already registered' text GitOrigin-RevId: aa8b7d0f83549f22a721f6e41a4a6cd51e287251
This commit is contained in:
@@ -654,7 +654,7 @@
|
||||
"email_address": "Email address",
|
||||
"email_address_is_invalid": "Email address is invalid",
|
||||
"email_already_associated_with": "The <b>__email1__</b> email is already associated with the <b>__email2__</b> <b>__appName__</b> account.",
|
||||
"email_already_registered": "This email is already registered",
|
||||
"email_already_registered": "This email address is already associated with a different Overleaf account.",
|
||||
"email_already_registered_secondary": "This email is already registered as a secondary email",
|
||||
"email_already_registered_sso": "This email is already registered. Please log in to your account another way and link your account to the new provider via your account settings.",
|
||||
"email_confirmed_onboarding": "Great! Let’s get you set up",
|
||||
|
||||
@@ -125,7 +125,9 @@ describe('Add secondary email address confirmation code email', function () {
|
||||
})
|
||||
|
||||
expect(res.response.statusCode).to.equal(409)
|
||||
expect(res.body.message.text).to.equal('This email is already registered')
|
||||
expect(res.body.message.text).to.equal(
|
||||
'This email address is already associated with a different Overleaf account.'
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
+5
-2
@@ -129,7 +129,8 @@ describe('<AccountInfoSection />', function () {
|
||||
fetchMock.post('/user/settings', {
|
||||
status: 409,
|
||||
body: {
|
||||
message: 'This email is already registered',
|
||||
message:
|
||||
'This email address is already associated with a different Overleaf account.',
|
||||
},
|
||||
})
|
||||
renderSectionWithUserProvider()
|
||||
@@ -139,7 +140,9 @@ describe('<AccountInfoSection />', function () {
|
||||
name: /update/i,
|
||||
})
|
||||
)
|
||||
await screen.findByText('This email is already registered')
|
||||
await screen.findByText(
|
||||
'This email address is already associated with a different Overleaf account.'
|
||||
)
|
||||
})
|
||||
|
||||
it('hides email input', async function () {
|
||||
|
||||
Reference in New Issue
Block a user