mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #3312
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
|
||||
var usernamePassword = '';
|
||||
if (nconf.get('mongo:username') && nconf.get('mongo:password')) {
|
||||
usernamePassword = nconf.get('mongo:username') + ':' + nconf.get('mongo:password') + '@';
|
||||
usernamePassword = nconf.get('mongo:username') + ':' + encodeURIComponent(nconf.get('mongo:password')) + '@';
|
||||
}
|
||||
|
||||
// Sensible defaults for Mongo, if not set
|
||||
|
||||
Reference in New Issue
Block a user