From a8b66af2faf2431a03af3b2118aa3c2a2430fe71 Mon Sep 17 00:00:00 2001 From: jjstyle Date: Mon, 22 Dec 2025 14:20:31 +0900 Subject: [PATCH] =?UTF-8?q?redis=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Config/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/Cache.php b/app/Config/Cache.php index 1b9c141..5ec9cec 100644 --- a/app/Config/Cache.php +++ b/app/Config/Cache.php @@ -162,7 +162,7 @@ class Cache extends BaseConfig // Redis 설정에 .env 값을 할당 (이전 논의된 Docker 호스트 이름 'redis' 사용) $this->redis = [ 'host' => env('redis.default.host', '127.0.0.1'), - 'password' => env('redis.default.password', null), + 'password' => (env('redis.default.password') === '' || env('redis.default.password') === null) ? null : env('redis.default.password'), 'port' => (int)env('redis.default.port', 6379), 'timeout' => (int)env('redis.default.timeout', 0), 'database' => (int)env('redis.default.database', 0)