PassportJS and Express-Session, how to add more data to the session?

How to add to the session (req.session) for objects?
Add stupid forehead req.session.x = 1, in principle, all was well. But when the session keeps the passport it only records the cookie and passport, and everything else trimmed. What am I doing wrong?
August 23rd 19 at 10:38
0 answer

Find more questions by tags Express.jsJavaScriptNode.jsSessions