diff options
Diffstat (limited to 'src/mongo/db/commands/user_management_commands_parser.cpp')
-rw-r--r-- | src/mongo/db/commands/user_management_commands_parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/commands/user_management_commands_parser.cpp b/src/mongo/db/commands/user_management_commands_parser.cpp index 2e4f42211fd..ff17d046653 100644 --- a/src/mongo/db/commands/user_management_commands_parser.cpp +++ b/src/mongo/db/commands/user_management_commands_parser.cpp @@ -116,6 +116,7 @@ namespace auth { validFieldNames.insert("customData"); validFieldNames.insert("pwd"); validFieldNames.insert("roles"); + validFieldNames.insert("writeConcern"); // Iterate through all fields in command object and make sure there are no unexpected // ones. @@ -218,6 +219,7 @@ namespace auth { validFieldNames.insert("customData"); validFieldNames.insert("pwd"); validFieldNames.insert("roles"); + validFieldNames.insert("writeConcern"); // Iterate through all fields in command object and make sure there are no unexpected // ones. |