Permalink
Browse files

fix session component initialize bug

  • Loading branch information...
changchang committed Feb 27, 2013
1 parent 95bc8a1 commit 8b58412545029079364437dfdcc1f51502779b3c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/components/session.js
@@ -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;
};

0 comments on commit 8b58412

Please sign in to comment.