Skip to content

Commit 3f6b850

Browse files
authored
wip db authentication
1 parent 0c4f207 commit 3f6b850

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ You can use MongoDB either as the main database, either as a side database. To d
126126
'username' => env('DB_USERNAME', 'homestead'),
127127
'password' => env('DB_PASSWORD', 'secret'),
128128
'options' => [
129-
'database' => 'admin', // required with Mongo 3+
130-
131-
// here you can pass more settings
132-
// see https://www.php.net/manual/en/mongodb-driver-manager.construct.php under "Uri Options" for a list of complete parameters you can use
129+
// here you can pass more settings to the Mongo Driver Manager
130+
// 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
131+
132+
'authSource' => env('DB_AUTHENTICATION_DATABASE', 'admin'), // required with Mongo 3+
133133
],
134134
],
135135
```

0 commit comments

Comments
 (0)