Commit fa4c0aba authored by antirez's avatar antirez
Browse files

Fixed Issue 74 (ERR just returned on invalid password), now the error message...

Fixed Issue 74 (ERR just returned on invalid password), now the error message is -ERR invalid password.
parent 4aa701c1
...@@ -2721,7 +2721,7 @@ static void authCommand(redisClient *c) { ...@@ -2721,7 +2721,7 @@ static void authCommand(redisClient *c) {
addReply(c,shared.ok); addReply(c,shared.ok);
} else { } else {
c->authenticated = 0; c->authenticated = 0;
addReply(c,shared.err); addReplySds(c,sdscatprintf(sdsempty(),"-ERR invalid password\r\n"));
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment