Closed jiaming10 closed 4 years ago
Currently, connect to MongoDB using authentication method (username, password) is not possible.
Suggest to add following keys to config.json: config.site.db.user config.site.db.password
config.json
config.site.db.user
config.site.db.password
And at helpers/db.js, we can determine if the above keys are set, and use the connection string accordingly.
helpers/db.js
Currently, connect to MongoDB using authentication method (username, password) is not possible.
Suggest to add following keys to
config.json
:config.site.db.user
config.site.db.password
And at
helpers/db.js
, we can determine if the above keys are set, and use the connection string accordingly.