From fa4c0aba85fca17e2526831d1afa530724479ed5 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 29 Oct 2009 11:43:40 +0100 Subject: [PATCH 1/1] Fixed Issue 74 (ERR just returned on invalid password), now the error message is -ERR invalid password. --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index c730c04c..85df6d31 100644 --- a/redis.c +++ b/redis.c @@ -2721,7 +2721,7 @@ static void authCommand(redisClient *c) { addReply(c,shared.ok); } else { c->authenticated = 0; - addReply(c,shared.err); + addReplySds(c,sdscatprintf(sdsempty(),"-ERR invalid password\r\n")); } } -- 2.45.2