summaryrefslogtreecommitdiff
path: root/src/scripting.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-02-04 12:55:26 +0100
committerantirez <antirez@gmail.com>2020-02-04 12:55:26 +0100
commit0c1a4b557691df2196d41835aeef5c1f29914b82 (patch)
tree77930322702d724037eeeb5bbcc3ac8323250119 /src/scripting.c
parentb189a2197489d20cf233d447f961e8a9c3b4009a (diff)
downloadredis-0c1a4b557691df2196d41835aeef5c1f29914b82.tar.gz
ACL LOG: log failed auth attempts.
Diffstat (limited to 'src/scripting.c')
-rw-r--r--src/scripting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripting.c b/src/scripting.c
index 916b90cf1..2eac56b47 100644
--- a/src/scripting.c
+++ b/src/scripting.c
@@ -609,7 +609,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
int acl_keypos;
int acl_retval = ACLCheckCommandPerm(c,&acl_keypos);
if (acl_retval != ACL_OK) {
- addACLLogEntry(c,acl_retval,acl_keypos);
+ addACLLogEntry(c,acl_retval,acl_keypos,NULL);
if (acl_retval == ACL_DENIED_CMD)
luaPushError(lua, "The user executing the script can't run this "
"command or subcommand");