Merge pull request #8249 from overleaf/jel-reconfirmation-settings-email

[web] Reconfirmations via emails

GitOrigin-RevId: 90c992cfeea785d56ff38e007f1c70188d280aed
This commit is contained in:
Thomas 2022-06-03 12:18:20 +02:00 committed by Copybot
parent 694b4c2f89
commit e1fb5431db
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ function ReconfirmationInfoPrompt({
)
} else {
runAsync(
postJSON('/user/emails/resend_confirmation', {
postJSON('/user/emails/send-reconfirmation', {
body: {
email,
},

View file

@ -132,7 +132,7 @@ describe('<ReconfirmationInfo/>', function () {
window.metaAttributesCache.set('ol-ExposedSettings', {
hasSamlFeature: false,
})
fetchMock.post('/user/emails/resend_confirmation', 200)
fetchMock.post('/user/emails/send-reconfirmation', 200)
})
it('sends and resends confirmation email', async function () {