1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-11 22:42:42 +03:00
Files
node-redis/examples/auth.js
Ruben Bridgewater b2613b2270 test fixup
2017-05-06 08:16:19 +02:00

8 lines
171 B
JavaScript

'use strict'
const redis = require('redis')
// The client stashes the password and will re-authenticate on every connect.
redis.createClient({
password: 'some pass'
})