1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Fix auth regression

Fixes #1028
This commit is contained in:
Ruben Bridgewater
2016-04-13 04:07:25 +02:00
parent aff765adf0
commit a9d565b8f4
3 changed files with 6 additions and 4 deletions

View File

@@ -269,7 +269,9 @@ RedisClient.prototype.create_stream = function () {
// Fire the command before redis is connected to be sure it's the first fired command
if (this.auth_pass !== undefined) {
this.ready = true;
this.auth(this.auth_pass);
this.ready = false;
}
};