Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 353 Bytes

fact-change-password.rst

File metadata and controls

6 lines (6 loc) · 353 Bytes

In previous versions of MongoDB, you could change an existing user's password by calling :method:`db.addUser()` again with the user's username and their updated password. Anything specified in the :method:`~addUser()` method would override the existing information for that user. In newer versions of MongoDB, this will result in a duplicate key error.