[web] Fix: sendConfirmationEmail promise (!!!) (#19629)

* Fix `sendConfirmationEmail` promise (!!!)

* Fix: No nested promises, and `sendConfirmationEmail`->`sendReconfirmationEmail`

* Add integration test on `/user/emails/send-reconfirmation`

* Update integration test: use the previously generated token

GitOrigin-RevId: f6386abeb06888351eec22fbcb1d3c614ff5c5c5
This commit is contained in:
Antoine Clausse 2024-07-26 14:49:03 +02:00 committed by Copybot
parent 72c7b946ed
commit 7212c16dde

View file

@ -133,6 +133,7 @@ UserEmailsConfirmationHandler.promises = {
sendConfirmationEmail: promisify(sendConfirmationEmail),
confirmEmailFromToken,
sendConfirmationCode,
sendReconfirmationEmail,
}
module.exports = UserEmailsConfirmationHandler