emqx-auth-redis
emqx-auth-redis copied to clipboard
how to set auth.redis.auth_cmd = with redis eval
set emqx_auth_redis.conf:
auth.redis.auth_cmd = eval "return redis.call('hmget','emqx:user:'..ARGV[1],'password')" 0 %u
get error
[Redis] Command: "eval \"return redis.call('hmget','emqx:user:'..ARGV[1],'password')\" 0 %u" failed: <<"ERR value is not an integer or out of range">>
Hi, @zxzgit Sorry for the late reply,Do you resolve this problem?