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)