summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-daemon/src/device/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/device/mod.rs b/mullvad-daemon/src/device/mod.rs
index 8047a725af..1321fb3e69 100644
--- a/mullvad-daemon/src/device/mod.rs
+++ b/mullvad-daemon/src/device/mod.rs
@@ -595,7 +595,7 @@ impl AccountManager {
self.last_validation = None;
if let Some(old_data) = self.data.take() {
- if data.as_ref().map(|d| &d.device.id) == Some(&old_data.device.id) {
+ if data.as_ref().map(|d| &d.device.id) != Some(&old_data.device.id) {
tokio::spawn(self.logout_api_call(old_data));
}
}