浏览代码

redis删除密码

lizhen_gitee 3 年之前
父节点
当前提交
afa5ebdea3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      thinkphp/library/think/cache/driver/Redis.php

+ 1 - 1
thinkphp/library/think/cache/driver/Redis.php

@@ -25,7 +25,7 @@ class Redis extends Driver
     protected $options = [
         'host'       => '127.0.0.1',
         'port'       => 6379,
-        'password'   => '123456',
+        'password'   => '',
         'select'     => 0,
         'timeout'    => 0,
         'expire'     => 0,