MongoDB username is not saved to the config file during the installation.

v1.18.x
Pongsan Sayampol 11 years ago
parent b6d4ae2732
commit 1bde86a33f

@ -65,7 +65,7 @@ var async = require('async'),
description: 'Host port of your MongoDB instance',
'default': nconf.get('mongo:port') || 27017
}, {
name: 'mongo:user',
name: 'mongo:username',
description: 'MongoDB username'
}, {
name: 'mongo:password',
@ -126,6 +126,7 @@ var async = require('async'),
config.mongo = {
host: databaseConfig['mongo:host'],
port: databaseConfig['mongo:port'],
username: databaseConfig['mongo:username'],
password: databaseConfig['mongo:password'],
database: databaseConfig['mongo:database']
};

Loading…
Cancel
Save