connect-pg-simple
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -64,3 +64,3 @@ var oneDay = 86400; | ||
} | ||
this.query('SELECT sess FROM session WHERE sid = $1', [sid], function (err, data) { | ||
this.query('SELECT sess FROM session WHERE sid = $1 AND expire >= NOW()', [sid], function (err, data) { | ||
if (err) return fn(err); | ||
@@ -67,0 +67,0 @@ if (!data) return fn(); |
{ | ||
"name": "connect-pg-simple", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple, minimal PostgreSQL session store for Connect/Express", | ||
@@ -5,0 +5,0 @@ "url": "http://github.com/voxpelli/node-connect-pg-simple", |
@@ -41,4 +41,8 @@ # Connect PG Simple | ||
### 1.0.1 | ||
* Fix for sometimes not expiring sessions correctly | ||
### 1.0.0 | ||
* First NPM-version of the script originally published as a Gist here: https://gist.github.com/voxpelli/6447728 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5088
48