diff options
-rw-r--r-- | src/acl.c | 2 | ||||
-rw-r--r-- | src/networking.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1981,7 +1981,7 @@ void authCommand(client *c) { if (ACLAuthenticateUser(c,username,password) == C_OK) { addReply(c,shared.ok); } else { - addReplyError(c,"-WRONGPASS invalid username-password pair"); + addReplyError(c,"-WRONGPASS invalid username-password pair or user is disabled."); } /* Free the "default" string object we created for the two diff --git a/src/networking.c b/src/networking.c index f0ebe4134..a6786492b 100644 --- a/src/networking.c +++ b/src/networking.c @@ -2527,7 +2527,7 @@ void helloCommand(client *c) { const char *opt = c->argv[j]->ptr; if (!strcasecmp(opt,"AUTH") && moreargs >= 2) { if (ACLAuthenticateUser(c, c->argv[j+1], c->argv[j+2]) == C_ERR) { - addReplyError(c,"-WRONGPASS invalid username-password pair"); + addReplyError(c,"-WRONGPASS invalid username-password pair or user is disabled."); return; } j += 2; |