Skip to content

Commit a412c3b

Browse files
DOCSP-30317-backport-v5.0 Fix link (#3268)
* DOCSP-30317-backport-v5.0 conflict * DOCSP-30317-backport-v5.0 build error
1 parent bc1ffba commit a412c3b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

source/tutorial/authenticate-a-user.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Authenticate a User
1212
:depth: 1
1313
:class: singlecol
1414

15-
To authenticate as a user, you must provide a username, password, and
16-
the :ref:`authentication database <mongo-shell-authentication-options>`
17-
associated with that user.
15+
To authenticate as a user, you must provide a username, password, and the
16+
:option:`authentication database <mongosh --authenticationDatabase>` associated
17+
with that user.
1818

1919
.. important::
2020

@@ -57,10 +57,9 @@ Using :binary:`~bin.mongosh`, you can:
5757

5858
In :binary:`~bin.mongosh`, switch to the
5959
authentication database (in this case, ``admin``), and
60-
use the :method:`db.auth(\<username\>, \<pwd\>)
61-
<db.auth()>` method or the :dbcommand:`authenticate`
62-
command to authenticate against the :ref:`authentication
63-
database <mongo-shell-authentication-options>`:
60+
use the :method:`db.auth(\<username\>, \<pwd\>) <db.auth()>` method
61+
or the :dbcommand:`authenticate` command to authenticate against the
62+
:option:`authentication database <mongosh --authenticationDatabase>`:
6463

6564
.. code-block:: javascript
6665

0 commit comments

Comments
 (0)