Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
support custom session store, fixed #146
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Jan 13, 2014
1 parent c88991c commit d68157f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (config.debug) {
session = connect.session({
key: key,
secret: config.sessionSecret,
store: new RedisStore(config.redis),
store: config.sessionStore || new RedisStore(config.redis),
cookie: cookie,
});
}
Expand Down

0 comments on commit d68157f

Please sign in to comment.