mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 00:01:04 +00:00
Fixed Issue 74 (ERR just returned on invalid password), now the error message is -ERR invalid password.
This commit is contained in:
parent
4aa701c11a
commit
fa4c0aba85
2
redis.c
2
redis.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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user