-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
-
0.2
https://docs.mongodb.com/v3.2/reference/method/db.changeUserPassword/
Parameters are listed as username, password, mechanism, and digestPassword, but the shell disagrees.
MongoDB shell version: 3.2.9
connecting to: test
> db.changeUserPassword
function (username, password, writeConcern) {
this.updateUser(username,
, writeConcern);
}
I checked previous versions and this is the code all the way back to 2.6.9. The code was slightly different in 2.4.14 as it didn't include the writeConcern parameter.
Please correct the function definition to remove mechanism and digestPassword parameters and add the writeConcern parameter.