adding in proper creation of user

This commit is contained in:
talksik
2022-03-18 17:34:51 -04:00
parent 0a126900b9
commit b9d38a6484
9 changed files with 113 additions and 52 deletions
+2
View File
@@ -24,6 +24,8 @@ export const authCheck = async (
const email = ticket.getPayload()?.email;
// used in subsequent handlers
// todo: have to get our database id for the user instead of google's id
res.locals.userId = userId;
res.locals.email = email;