Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/routes/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down
2 changes: 2 additions & 0 deletions web/views/home/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
<div>Add comma-separated list of nodes with "host-1:port,host-2 ..."</div>
<br>
</div>
<label for="username">Redis Server Username</label>
<input type="text" name="username" id="username" value="" class="span6">
<label for="password">Redis Server Password</label>
<input type="password" name="password" id="password" value="" class="span6">
<label for="dbIndex">Database Index</label>
Expand Down