Skip to content

Added digestPassword to createUser, updateUser topics #1880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion source/reference/command/createUser-field.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ position: 4
description: |
The roles granted to the user.
---
object:
name: createUser
type: dbcommand
field:
optional: false
type: field
name: digestPassword
type: boolean
position: 5
description: |
When ``true`` the :program:`mongod` instance will create the hash of the
user password; otherwise the client is responsible for creating the hash
of the password.
---
object:
name: createUser
type: dbcommand
Expand All @@ -61,7 +75,7 @@ field:
type: field
name: writeConcern
type: document
position: 5
position: 6
description: |
The level of :doc:`write concern </reference/write-concern>` for the
creation operation. The ``writeConcern`` document takes the same
Expand Down
16 changes: 15 additions & 1 deletion source/reference/command/updateUser-field.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ description: |
The roles granted to the user. An update to the ``roles`` array
overrides the previous array's values.
---
object:
name: updateUser
type: dbcommand
field:
optional: false
type: field
name: digestPassword
type: boolean
position: 5
description: |
When ``true`` the :program:`mongod` instance will create the hash of the
user password; otherwise the client is responsible for creating the hash
of the password.
---
object:
name: updateUser
type: dbcommand
Expand All @@ -57,7 +71,7 @@ field:
type: field
name: writeConcern
type: document
position: 5
position: 6
description: |
The level of :doc:`write concern </reference/write-concern>` for the
update operation. The ``writeConcern`` document takes the same
Expand Down