mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 15:33:13 +01:00
6 lines
182 B
JavaScript
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");
|