Skip to content

Commit

Permalink
fix: support custom cookie options
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Aug 25, 2015
1 parent 9f2628e commit 433ebc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -8,7 +8,7 @@ install:

test:
@NODE_ENV=test ./node_modules/mocha/bin/mocha \
--harmony-generators \
--harmony\
--reporter $(REPORTER) \
--timeout $(TIMEOUT) \
--require should \
Expand Down
4 changes: 1 addition & 3 deletions lib/session.js
Expand Up @@ -82,9 +82,7 @@ module.exports = function (options) {
var sessionIdStore = options.sessionIdStore || {

get: function() {
return this.cookies.get(key, {
signed: cookie.signed
});
return this.cookies.get(key, cookie);
},

set: function(sid, session) {
Expand Down

0 comments on commit 433ebc6

Please sign in to comment.