diff options
author | antirez <antirez@gmail.com> | 2019-01-17 18:33:36 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-01-17 18:33:36 +0100 |
commit | 2c66c525f93539dab5e4fb71327fda2a9672cf3b (patch) | |
tree | 4703174c7b478b653bef259c3f624c360046fa15 /src/replication.c | |
parent | b87815c1f800690c90bbc6c50bbe62878841d0b9 (diff) | |
download | redis-2c66c525f93539dab5e4fb71327fda2a9672cf3b.tar.gz |
ACL: configure the master connection without user.
Diffstat (limited to 'src/replication.c')
-rw-r--r-- | src/replication.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/replication.c b/src/replication.c index 1ca8641a9..ab880a6b6 100644 --- a/src/replication.c +++ b/src/replication.c @@ -1080,6 +1080,7 @@ void replicationCreateMasterClient(int fd, int dbid) { server.master->authenticated = 1; server.master->reploff = server.master_initial_offset; server.master->read_reploff = server.master->reploff; + server.master->user = NULL; /* This client can do everything. */ memcpy(server.master->replid, server.master_replid, sizeof(server.master_replid)); /* If master offset is set to -1, this master is old and is not |