Added support for using mongo:password and redis:password from config, when no password is entered at setup. This allows for having "default" password and overrides from config. Added using mongo:username and port from config when running setup.

This commit is contained in:
ahwayakchih
2015-02-25 22:27:19 +01:00
parent f00589c8ba
commit 4c2f628baa
3 changed files with 7 additions and 4 deletions

View File

@@ -28,7 +28,8 @@
{
name: 'redis:password',
description: 'Password of your Redis database',
hidden: true
hidden: true,
before: function(value) { value = value || nconf.get('redis:password') || ''; return value; }
},
{
name: "redis:database",