Skip to content

Commit 1111296

Browse files
committed
Add optional 'username' field to new connection object in home route
1 parent b03e3c4 commit 1111296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/routes/home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module.exports = function() {
4040
let newConnection = {
4141
label: body.label,
4242
port: body.port,
43+
username: body.username || null,
4344
password: body.password,
4445
dbIndex: body.dbIndex
4546
};

0 commit comments

Comments
 (0)