From 1111296064305d087d251cc809c97c860229126a Mon Sep 17 00:00:00 2001 From: Jakob Sachse Date: Thu, 14 Aug 2025 15:54:00 +0200 Subject: [PATCH 1/2] Add optional 'username' field to new connection object in home route --- lib/routes/home.js | 1 + 1 file changed, 1 insertion(+) 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 }; From f120c0cbef3b5c47cc5d4d0fe6923d18a5705ee0 Mon Sep 17 00:00:00 2001 From: Jakob Sachse Date: Fri, 15 Aug 2025 08:23:55 +0200 Subject: [PATCH 2/2] add username to http form in order to add it to config object --- web/views/home/home.ejs | 2 ++ 1 file changed, 2 insertions(+) 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 @@
Add comma-separated list of nodes with "host-1:port,host-2 ..."

+ +