Support predis v1.1.1

fix: `AUTH failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]`

According to predix release log: https://github.com/nrk/predis/releases/tag/v1.1.1
This commit is contained in:
Loki Else 2016-11-16 17:17:52 +08:00 committed by GitHub
parent 038ae10ae7
commit 69df2ada11

View File

@ -111,9 +111,11 @@ return [
'default' => [
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => 0,
'parameters' => [
'password' => env('REDIS_PASSWORD', '')
]
],
],