make it make more sense

This commit is contained in:
Lee 2023-06-28 12:39:06 +01:00
parent d71eb26037
commit 9719b96342

@ -158,11 +158,13 @@ security:
```bash
mongo -u admin -p --authenticationDatabase admin
# or if you didn't secure MongoDB, run the following command:
mongo
```
This will ask you for the password that you set earlier in the Securing MongoDB section.
This will ask you for the password that you set earlier in the Securing MongoDB section, or if you didn't secure MongoDB, run the following command:
```bash
mongo
```
2. Switch to the database that you want to add a user to eg: `forum`. Run the following command: