Commit 1a292e06 authored by omg-by's avatar omg-by
Browse files

there should is AUTH && HELLO non authenticated state.

parent a92921da
...@@ -3366,7 +3366,7 @@ int processCommand(client *c) { ...@@ -3366,7 +3366,7 @@ int processCommand(client *c) {
!c->authenticated; !c->authenticated;
if (auth_required) { if (auth_required) {
/* AUTH and HELLO are valid even in non authenticated state. */ /* AUTH and HELLO are valid even in non authenticated state. */
if (c->cmd->proc != authCommand || c->cmd->proc == helloCommand) { if (c->cmd->proc != authCommand && c->cmd->proc != helloCommand) {
flagTransaction(c); flagTransaction(c);
addReply(c,shared.noautherr); addReply(c,shared.noautherr);
return C_OK; return C_OK;
......
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