We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be nice if we could use express-session. I've created a custom package to load the npm module 'express-session'.
My package code is like this:
ServerSession = Npm.require('express-session'); ServerSession({ secret: "mySecret", resave: false, saveUninitialized: true });
... and in the Package.onUse() an api.export('ServerSession'); call exists.
api.export('ServerSession');
But as soon as i try to use Picker.middleware(ServerSession); in my code, i get the errors below:
Picker.middleware(ServerSession);
W20151227-19:33:50.933(1)? (STDERR) Sun, 27 Dec 2015 18:33:50 GMT express-session deprecated undefined resave option; provide resave option at packages/meteorhacks_picker.js:138:16 W20151227-19:33:50.933(1)? (STDERR) Sun, 27 Dec 2015 18:33:50 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at packages/meteorhacks_picker.js:138:16 W20151227-19:33:50.934(1)? (STDERR) Sun, 27 Dec 2015 18:33:50 GMT express-session deprecated req.secret; provide secret option at packages/meteorhacks_picker.js:138:16
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Would be nice if we could use express-session.
I've created a custom package to load the npm module 'express-session'.
My package code is like this:
... and in the Package.onUse() an
api.export('ServerSession');
call exists.But as soon as i try to use
Picker.middleware(ServerSession);
in my code, i get the errors below:Any ideas?
The text was updated successfully, but these errors were encountered: