mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
* In tests, post to `/user/emails/secondary` (6-digits) instead of the deprecated `/user/emails` (link-token) * Update `addEmailAndConfirm` so it calls the right endpoint * Remove unnecessary `userId` from `confirmEmail` and `addEmailAndConfirm` args * Use `updateUser` to add unconfirmed email to user * Confirm, then unconfirm emails, in order to test on unconfirmed emails * Lowercase emails in `unconfirmSecondaryEmail`, so they get matched correctly * Update UserEmailsTests.mjs with 6-digits flow, fetch, no `npm:async` GitOrigin-RevId: 71b9ed65daebea5f22272240559caab375515f0c