Permalink
Browse files

Fix global reference

  • Loading branch information...
1 parent 43924b2 commit 2fc59870660dff0389f33e61290d4495cdd6e8c7 @kriszyp kriszyp committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jsgi/session.js
View
@@ -78,7 +78,7 @@ exports.forceSession = function(request, expires){
if (!expires) expires = -(settings.sessionTTL || 300);
if (expires < 0)
expires = ((new Date()).valueOf())-expires*1000;
- expiration = new Date(expires);
+ var expiration = new Date(expires);
// TODO: use add()
session = request.session = {

0 comments on commit 2fc5987

Please sign in to comment.