The duo of connect-mongo and express-session does not work. If you log in to the site you'll notice there is no entry in the sessions collection in mongo, and there is no connect.sid cookie stored by your browser.
If you remove cookie-session from Express it works fine. Not sure why both are used in this project anyway..?
The duo of
connect-mongo
andexpress-session
does not work. If you log in to the site you'll notice there is no entry in thesessions
collection in mongo, and there is noconnect.sid
cookie stored by your browser.If you remove
cookie-session
from Express it works fine. Not sure why both are used in this project anyway..?