isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

fix(auth.js): log user email properly #783

Closed seaerchin closed 1 year ago

seaerchin commented 1 year ago

Problem

the log method wasn't capturing the email

Solution

get email from req.session.userInfo