2014-04-01 00:47:41 -06:00

6 lines
182 B
JavaScript

var redis = require("redis"),
client = redis.createClient();
// This command is magical. Client stashes the password and will issue on every connect.
client.auth("somepass");