summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--gui/src/main/index.ts2
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.