Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
fix session component initialize bug
Browse files Browse the repository at this point in the history
  • Loading branch information
changchang committed Feb 27, 2013
1 parent 95bc8a1 commit 8b58412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/session.js
Expand Up @@ -3,7 +3,7 @@ var SessionService = require('../common/service/sessionService');
var DEFAULT_FLUSH_INTERVAL = 20;

module.exports = function(app, opts) {
var cmp = new Component(app);
var cmp = new Component(app, opts);
app.set('sessionService', cmp, true);
return cmp;
};
Expand Down

0 comments on commit 8b58412

Please sign in to comment.