diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-01-22 12:45:43 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-01-22 12:45:43 +0100 |
| commit | a2db4d4ba6adae31d5417fea5f79846e81bc3f69 (patch) | |
| tree | 66c31cd3a7d11ca593a40b34a3e8109fd59697d6 | |
| parent | 0d2316ddcee96036e1ddc0042abeee7b94015efb (diff) | |
| download | mullvadvpn-a2db4d4ba6adae31d5417fea5f79846e81bc3f69.tar.xz mullvadvpn-a2db4d4ba6adae31d5417fea5f79846e81bc3f69.zip | |
Respect auto-connect setting when logging in
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | gui/src/main/index.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd686d3e5..fcdb7b37ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,8 @@ Line wrap the file at 100 chars. Th - Prefer the last used API endpoint when the service starts back up, as well as in other tools such as the problem report tool. - Migrate cache to a directory readable by all users, consistent with Android and Linux. +- Change the default value of the GUI auto-connect setting to "off" and respect the setting when + logging in. #### Linux - Improve offline check to query the routing table to allow users to use a bridged adapter as their diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 95542e2cbd..cbd56f3843 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1184,7 +1184,7 @@ class ApplicationMain { log.warn(`Failed to get account data, logging in anyway: ${verification.error.message}`); } - this.autoConnectOnWireguardKeyEvent = true; + this.autoConnectOnWireguardKeyEvent = this.guiSettings.autoConnect; await this.daemonRpc.setAccount(accountToken); // Fallback if daemon doesn't send event. |
