adminjs-expressjs
adminjs-expressjs copied to clipboard
express-session deprecated pass resave option
express-session deprecated undefined resave option; provide resave option at node_modules/@adminjs/express/lib/buildAuthenticatedRouter express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at node_modules/@adminjs/express/lib/buildAuthenticatedRouter.js
I get that deprecation warning above, which needs to specify the resave and the saveUninitialized options to the value you want to use. See https://github.com/expressjs/session#options for their values and meanings.
The documentation contains an example with those options: https://docs.adminjs.co/installation/plugins/express#authenticated