Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Do not clear selfhosted URL on iOS mobile app logout (#1703)

Leendert de Borstd2e0b20437bb
diff --git a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Cache.swift b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Cache.swift
index bfe7596c2..0640e2670 100644
--- a/apps/mobile-app/ios/VaultStoreKit/VaultStore+Cache.swift
+++ b/apps/mobile-app/ios/VaultStoreKit/VaultStore+Cache.swift
@@ -65,8 +65,7 @@ extension VaultStore {
self.userDefaults.removeObject(forKey: VaultConstants.mutationSequenceKey)
self.userDefaults.removeObject(forKey: VaultConstants.isSyncingKey)
- // Clear WebApiService keys (auth tokens, API URL)
- self.userDefaults.removeObject(forKey: "apiUrl")
+ // Clear WebApiService keys
self.userDefaults.removeObject(forKey: "accessToken")
self.userDefaults.removeObject(forKey: "refreshToken")