Skip to content

Commit 68947ca

Browse files
authored
Merge pull request #14 from limingxinleo/1.0-redis
Changed default auth for redis.
2 parents 183bfc3 + b6c5680 commit 68947ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ DB_COLLATION=utf8mb4_unicode_ci
1111
DB_PREFIX=
1212

1313
REDIS_HOST=localhost
14-
REDIS_AUTH=
14+
REDIS_AUTH=(null)
1515
REDIS_PORT=6379
1616
REDIS_DB=0

config/autoload/redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
return [
1414
'default' => [
1515
'host' => env('REDIS_HOST', 'localhost'),
16-
'auth' => env('REDIS_AUTH', ''),
16+
'auth' => env('REDIS_AUTH', null),
1717
'port' => (int) env('REDIS_PORT', 6379),
1818
'db' => (int) env('REDIS_DB', 0),
1919
'pool' => [

0 commit comments

Comments
 (0)