Skip to content

Commit 6d42bd4

Browse files
committed
Updated for database authentication.
1 parent cff7c51 commit 6d42bd4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ [email protected]
3838

3939
#### Optional Parameters
4040

41+
`MONGO_AUTH_ENABLED` tells if your database requires a username and password. If so, the user must exist on the database specified in the MONGO_URI. If enabled, `MONGO_USER` and `MONGO_PASSWORD` are required.
42+
43+
`MONGO_USER`, `MONGO_PASSWORD` the user and password for authentication. Recommend a role with readWrite.
44+
4145
`JWT_EXPIRES_IN` Seconds until token expires. If not set, there will be no expiration.
4246

4347
`EMAIL_ENABLED` If email services should be used, `EMAIL_*` fields are required if enabled.

0 commit comments

Comments
 (0)