Unverified Commit 3f6b8506 authored by rennokki's avatar rennokki Committed by GitHub

wip db authentication

parent 0c4f2078
...@@ -126,10 +126,10 @@ You can use MongoDB either as the main database, either as a side database. To d ...@@ -126,10 +126,10 @@ You can use MongoDB either as the main database, either as a side database. To d
'username' => env('DB_USERNAME', 'homestead'), 'username' => env('DB_USERNAME', 'homestead'),
'password' => env('DB_PASSWORD', 'secret'), 'password' => env('DB_PASSWORD', 'secret'),
'options' => [ 'options' => [
'database' => 'admin', // required with Mongo 3+ // here you can pass more settings to the Mongo Driver Manager
// see https://www.php.net/manual/en/mongodb-driver-manager.construct.php under "Uri Options" for a list of complete parameters that you can use
// here you can pass more settings 'authSource' => env('DB_AUTHENTICATION_DATABASE', 'admin'), // required with Mongo 3+
// see https://www.php.net/manual/en/mongodb-driver-manager.construct.php under "Uri Options" for a list of complete parameters you can use
], ],
], ],
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment