Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Save changes to HTTP basic auth when editing a server entry
Browse files Browse the repository at this point in the history
  • Loading branch information
elisee committed Dec 17, 2018
1 parent 2ad7450 commit 99a020e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function onEditServerClick(event: MouseEvent) {
serverEntry.hostname = updatedEntry.hostname;
serverEntry.port = updatedEntry.port;
serverEntry.label = updatedEntry.label;
serverEntry.httpUsername = updatedEntry.httpUsername;
serverEntry.httpPassword = updatedEntry.httpPassword;

const selectedServerElt = serversTreeView.treeRoot.querySelector(`li[data-server-id="${serverId}"]`);
const host = serverEntry.hostname + (serverEntry.port != null ? `:${serverEntry.port}` : "");
Expand Down

0 comments on commit 99a020e

Please sign in to comment.