Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Setting the session length to 30 days.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwex committed Jun 22, 2012
1 parent 8d06643 commit 0788111
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/http/server.js
Expand Up @@ -76,8 +76,9 @@ passport.use(new BrowserID({
var http = express.createServer();

var sessionStore = new RedisStore({
maxAge: (1).day
});
maxAge: (30).days
});

// Express Configuration
http.configure(function(){
http.set('views', __dirname + '/views');
Expand Down

0 comments on commit 0788111

Please sign in to comment.