From 1bde86a33fa752f6b09fb1b61fbbb78d57bc5a81 Mon Sep 17 00:00:00 2001 From: Pongsan Sayampol Date: Mon, 23 Dec 2013 23:07:18 +0700 Subject: [PATCH] MongoDB username is not saved to the config file during the installation. --- src/install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index 93e5364e0b..0a5272a226 100644 --- a/src/install.js +++ b/src/install.js @@ -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'] };