[web] Track if the email is confirmed/verified (#15818)

* Added email-verifed event

* added email provider

* check if the email is primary

* rename confirm email segmentation

* remove the segmentation because it duplicates verification-type

* move the response

* remove duplicate definition

---------

Co-authored-by: Domagoj Kriskovic <dom.kriskovic@overleaf.com>
GitOrigin-RevId: 2956467b46a883fc0ee00c26dd446ba82fa5be26
This commit is contained in:
Rebeka Dekany
2023-11-24 12:07:39 +01:00
committed by Copybot
parent 441cf1bb5b
commit fbf02b4856
2 changed files with 24 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ describe('UserEmailsController', function () {
}
this.UserGetter = {
getUser: sinon.stub().yields(),
getUserFullEmails: sinon.stub(),
getUserByAnyEmail: sinon.stub(),
promises: {