diff --git a/README.md b/README.md index 0aa40e5c7..58bbf68fb 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ And add a new mongodb connection: 'username' => env('DB_USERNAME'), 'password' => env('DB_PASSWORD'), 'options' => [ - 'database' => 'admin' // sets the authentication database required by mongo 3 + 'database' => env('DB_DATABASE') // sets the authentication database required by mongo 3 ] ], ```