diff --git a/libs/configuration.js b/libs/configuration.js index 4ad59da7fe5963ac8b5d9489e910e3b5378c7ff8..e09b7a23ce005da2cfe2076216daa63746518491 100644 --- a/libs/configuration.js +++ b/libs/configuration.js @@ -19,6 +19,12 @@ exports.get = function(val) { return g_config[val]; } +var defaultHostedDatabaseConfig = { + driver: "mysql", + user: 'browserid', + password: 'browserid' +}; + // various deployment configurations const g_configs = { production: { @@ -27,7 +33,7 @@ const g_configs = { scheme: 'https', use_minified_resources: true, log_path: '/home/browserid/var/', - database: { driver: "mysql" } + database: defaultHostedDatabaseConfig }, development: { hostname: 'dev.diresworb.org', @@ -35,7 +41,7 @@ const g_configs = { scheme: 'https', use_minified_resources: true, log_path: '/home/browserid/var/', - database: { driver: "mysql" } + database: defaultHostedDatabaseConfig }, beta: { hostname: 'diresworb.org', @@ -43,7 +49,7 @@ const g_configs = { scheme: 'https', use_minified_resources: true, log_path: '/home/browserid/var/', - database: { driver: "mysql" } + database: defaultHostedDatabaseConfig }, local: { hostname: '127.0.0.1',