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: ""},