From 914aa374c138b963a74278e49e5f219a35d0b9c7 Mon Sep 17 00:00:00 2001 From: dominiquefournier Date: Tue, 12 Apr 2022 15:43:13 +0200 Subject: [PATCH] Add ACL AUTH support with user/password --- redis_ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redis_ b/redis_ index 80ed6ac..3f42816 100755 --- a/redis_ +++ b/redis_ @@ -34,6 +34,8 @@ fi # add the ability to set a password in a respective config file if [ -z "$password" ]; then passwd='' # no password was configured +elif [ ! -z "$user" ]; then + passwd="--user $user --pass $password" else passwd="-a $password" fi