🔍 chore: Clean Up Documentation Pt. 4 (#2220)

This commit is contained in:
Danny Avila 2024-03-26 14:02:22 -04:00 committed by GitHub
parent 5df0ec06ea
commit 182c9f7080
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -272,12 +272,10 @@ use LibreChat
```
Now we'll create the actual credentials to be used by our Mongo connection string, which will be limited to read/write access of the "LibreChat" database. As before, replace the example with your desired credentials:
```bash
db.createUser({ user: 'user', pwd: 'userpasswd', roles: [ { role: "readWrite", db: "LibreChat" } ] });
```
You should see an "ok" output again:
> { ok: 1 }
`db.createUser({ user: 'user', pwd: 'userpasswd', roles: [ { role: "readWrite", db: "LibreChat" } ] });`
You should see an "ok" output again.
You can verify the user creation with the `show users` command.