Merge pull request #4341 from Nachtalb/na/fix-proxy-password

* Fix authenticated proxy
* Save the proxy password so you don't have to reenter it after restart
This commit is contained in:
Max Leiter 2021-10-24 14:06:53 -07:00 committed by GitHub
commit 5d7e62ed67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -166,7 +166,7 @@
class="input" class="input"
:type="slotProps.isVisible ? 'text' : 'password'" :type="slotProps.isVisible ? 'text' : 'password'"
placeholder="Proxy password" placeholder="Proxy password"
name="password" name="proxyPassword"
maxlength="300" maxlength="300"
/> />
</RevealPassword> </RevealPassword>

View file

@ -538,6 +538,7 @@ Network.prototype.export = function () {
"proxyPort", "proxyPort",
"proxyUsername", "proxyUsername",
"proxyEnabled", "proxyEnabled",
"proxyPassword",
]); ]);
network.channels = this.channels network.channels = this.channels

View file

@ -49,6 +49,7 @@ describe("Network", function () {
proxyEnabled: false, proxyEnabled: false,
proxyHost: "", proxyHost: "",
proxyPort: 1080, proxyPort: 1080,
proxyPassword: "",
proxyUsername: "", proxyUsername: "",
channels: [ channels: [
{name: "#thelounge", key: ""}, {name: "#thelounge", key: ""},