From 98016f048b634df53b5020e6bb438eb707e9eb3b Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Fri, 5 Aug 2011 13:39:31 -0600 Subject: [PATCH] update database configuration (default user and pass) --- libs/configuration.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libs/configuration.js b/libs/configuration.js index 4ad59da7f..e09b7a23c 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', -- GitLab