From 45211c4d02478d4eb8d1ea49bc973b7c2df988b5 Mon Sep 17 00:00:00 2001 From: "Tim Slavin (MongoDB)" Date: Tue, 20 May 2014 16:17:08 -0400 Subject: [PATCH] DOCS-3166: added digestPassword to createUser, updateUser topics --- source/reference/command/createUser-field.yaml | 16 +++++++++++++++- source/reference/command/updateUser-field.yaml | 16 +++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/source/reference/command/createUser-field.yaml b/source/reference/command/createUser-field.yaml index c1ce2c439cf..7c3df3c10f5 100644 --- a/source/reference/command/createUser-field.yaml +++ b/source/reference/command/createUser-field.yaml @@ -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 @@ -61,7 +75,7 @@ field: type: field name: writeConcern type: document -position: 5 +position: 6 description: | The level of :doc:`write concern ` for the creation operation. The ``writeConcern`` document takes the same diff --git a/source/reference/command/updateUser-field.yaml b/source/reference/command/updateUser-field.yaml index 920b4aee2b9..2de077dd1c6 100644 --- a/source/reference/command/updateUser-field.yaml +++ b/source/reference/command/updateUser-field.yaml @@ -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 @@ -57,7 +71,7 @@ field: type: field name: writeConcern type: document -position: 5 +position: 6 description: | The level of :doc:`write concern ` for the update operation. The ``writeConcern`` document takes the same