diff --git a/lib/routes/home.js b/lib/routes/home.js index 75da7bf0..378a080a 100644 --- a/lib/routes/home.js +++ b/lib/routes/home.js @@ -40,6 +40,7 @@ module.exports = function() { let newConnection = { label: body.label, port: body.port, + username: body.username || null, password: body.password, dbIndex: body.dbIndex }; diff --git a/web/views/home/home.ejs b/web/views/home/home.ejs index 200e1424..96a4a686 100644 --- a/web/views/home/home.ejs +++ b/web/views/home/home.ejs @@ -118,6 +118,8 @@