Skip to content

Commit ef553fc

Browse files
committed
change db_password
1 parent 89359d0 commit ef553fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/security/enterprise-auth.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ mechanism:
276276

277277
.. code-block:: java
278278

279-
MongoClient mongoClient = MongoClients.create("<username>:<db_password>@<hostname>:<port>/?authSource=$external&authMechanism=PLAIN");
279+
MongoClient mongoClient = MongoClients.create("<username>:<password>@<hostname>:<port>/?authSource=$external&authMechanism=PLAIN");
280280

281281
.. tab::
282282
:tabid: MongoCredential

0 commit comments

Comments
 (0)