Spikeophant / foodsaver

Food Saving and Recipe Searching application, leverages 3rd party api for finding new recpies, recipe and food uploads, and various other stuff, node/express/sequelize/handlebars/etc
0 stars 0 forks source link

Req.session.logged_in #43

Closed gt1222 closed 2 years ago

gt1222 commented 2 years ago

This is what vscode said: (property) Express.Request.session: session.Session & Partial This request's Session object. Even though this property isn't marked as optional, it won't exist until you use the express-session middleware [Declaration merging]

idk if session needs to be declared or need to import session but I think b/c this part isn't working properly the logged in portion isn't really working properly (can log in but button doesn't change to logout)