mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 17:51:21 +00:00
there should is AUTH && HELLO non authenticated state.
This commit is contained in:
@ -3366,7 +3366,7 @@ int processCommand(client *c) {
|
||||
!c->authenticated;
|
||||
if (auth_required) {
|
||||
/* 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);
|
||||
addReply(c,shared.noautherr);
|
||||
return C_OK;
|
||||
|
Reference in New Issue
Block a user