diff --git a/docs/configuring/databases/mongo.rst b/docs/configuring/databases/mongo.rst index a102db01d0..7587c7be19 100644 --- a/docs/configuring/databases/mongo.rst +++ b/docs/configuring/databases/mongo.rst @@ -67,9 +67,7 @@ To add a user to access the `nodebb` database, type: .. code:: - > db.createUser( { user: "nodebb", - ... pwd: "", - ... roles: [ "readWrite" ] } ) + > db.createUser( { user: "nodebb", pwd: "", roles: [ "readWrite" ] } ) **Note:** The role ``readWrite`` provides read or write any collection within a specific database to user.