Files
gun/node_modules/redis/examples/auth.js
theory 1df561f729 yay
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");