Jelajahi Sumber

redis删除密码

lizhen_gitee 3 tahun lalu
induk
melakukan
afa5ebdea3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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,