summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-03-07 15:27:49 +0100
committerDavid Lönnhager <david.l@mullvad.net>2022-03-14 12:08:55 +0100
commit13e369418b930f4500c8a3c7f72fea1ff666ee82 (patch)
treea84c2936829535887e6585c4b054d27b959a9098
parente2b5825d06f343ab0bbd9d7cabfd2fa18d3749ea (diff)
downloadmullvadvpn-13e369418b930f4500c8a3c7f72fea1ff666ee82.tar.xz
mullvadvpn-13e369418b930f4500c8a3c7f72fea1ff666ee82.zip
Invalidate the "cache" whenever the device is updated
-rw-r--r--mullvad-daemon/src/device.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mullvad-daemon/src/device.rs b/mullvad-daemon/src/device.rs
index ee8e6eecbd..24848ff68f 100644
--- a/mullvad-daemon/src/device.rs
+++ b/mullvad-daemon/src/device.rs
@@ -375,6 +375,7 @@ impl AccountManager {
}
self.cacher.write(data).await?;
+ self.last_validation = None;
if self
.data