Comparing version 0.2.0 to 0.2.1
@@ -49,3 +49,3 @@ var redis = require("redis"); | ||
this.redisClient.set(token, JSON.stringify(account), cb); | ||
this.redisClient.expire(token, 3600 * 24 * 30); // token will be valid for 30 days | ||
this.redisClient.expire(token, 3600 * 24 * 365); // token will be valid for 365 days | ||
}; | ||
@@ -52,0 +52,0 @@ |
{ | ||
"name": "authdb", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "database of authenticated users", | ||
@@ -5,0 +5,0 @@ "main": "authdb.js", |
2196