Added confirmation email to website register

This commit is contained in:
Jonathan Barrow
2022-10-01 01:04:04 -04:00
parent 6c0e0ff71a
commit e4edb5e0e5

View File

@@ -335,6 +335,8 @@ router.post('/', async (request, response) => {
await session.endSession();
}
await util.sendConfirmationEmail(pnid);
const cryptoPath = `${__dirname}/../../../../../certs/service/account`;
if (!await fs.pathExists(cryptoPath)) {