From 179b395244456e33324e1c69c1f1e370fe31994e Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 13 Dec 2009 15:09:46 +0100 Subject: [PATCH] Set the master->slave logical client as authenticated on creation, so that if the slave requires a password replication works anyway --- redis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/redis.c b/redis.c index 60a9232c..e6afdfcd 100644 --- a/redis.c +++ b/redis.c @@ -5582,6 +5582,7 @@ static int syncWithMaster(void) { } server.master = createClient(fd); server.master->flags |= REDIS_MASTER; + server.master->authenticated = 1; server.replstate = REDIS_REPL_CONNECTED; return REDIS_OK; } -- GitLab