From: 6d5CfLQ3dYAb <6d5CfLQ3dYAb@users.noreply.github.com> Date: Wed, 23 Mar 2022 20:07:50 +0000 (-0700) Subject: fix: Authenticate with Redis before database selection (#1020) X-Git-Tag: v4.6.1~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d2ca28a1f1c23e902f32644a4012ba59f76a45b;p=thirdparty%2Fccache.git fix: Authenticate with Redis before database selection (#1020) --- diff --git a/src/storage/secondary/RedisStorage.cpp b/src/storage/secondary/RedisStorage.cpp index c08fc06e0..2a5922fba 100644 --- a/src/storage/secondary/RedisStorage.cpp +++ b/src/storage/secondary/RedisStorage.cpp @@ -127,8 +127,8 @@ RedisStorageBackend::RedisStorageBackend(const Params& params) } connect(url, connect_timeout.count(), operation_timeout.count()); - select_database(url); authenticate(url); + select_database(url); } inline bool