connect-redis
Advanced tools
Comparing version 1.0.0 to 1.0.1
1.0.1 / 2011-04-14 | ||
================== | ||
* Added authentication support [garrensmith] | ||
1.0.0 / 2011-02-25 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -32,2 +32,8 @@ | ||
this.client = new redis.createClient(options.port, options.host, options); | ||
if (options.pass) { | ||
client.auth(options.pwd, function(err){ | ||
if (err) throw err; | ||
}); | ||
} | ||
if (options.db) { | ||
@@ -34,0 +40,0 @@ var self = this; |
{ | ||
"name": "connect-redis", | ||
"description": "Redis session store for Connect", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
@@ -19,2 +19,3 @@ | ||
- `db` Database index to use | ||
- `pass` Password for Redis authentication | ||
- ... Remaining options passed to the redis `createClient()` method. | ||
@@ -21,0 +22,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
32
0
16893
10
172