summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/acl.c2
-rw-r--r--src/networking.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/acl.c b/src/acl.c
index e0432ba5c..987427899 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -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;