You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
@@ -149,7 +149,7 @@ RedisClient.prototype.auth = RedisClient.prototype.AUTH = function auth (pass, c
|
||||
|
||||
// Stash auth for connect and reconnect.
|
||||
this.auth_pass = pass;
|
||||
this.ready = this.offline_queue.length === 0; // keep the execution order intakt
|
||||
this.ready = ready || this.offline_queue.length === 0; // keep the execution order intakt
|
||||
var tmp = this.internal_send_command('auth', [pass], function (err, res) {
|
||||
if (err) {
|
||||
if (no_password_is_set.test(err.message)) {
|
||||
|
Reference in New Issue
Block a user