mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[PM-9980] Turn off cache for certain keys (#10226)
* Turn Off Cache For DeviceKey * Turn Off Cache For AppId
This commit is contained in:
@@ -37,6 +37,7 @@ export const DEVICE_KEY = new UserKeyDefinition<DeviceKey | null>(
|
||||
deserializer: (deviceKey) =>
|
||||
deviceKey ? (SymmetricCryptoKey.fromJSON(deviceKey) as DeviceKey) : null,
|
||||
clearOn: [], // Device key is needed to log back into device, so we can't clear it automatically during lock or logout
|
||||
cleanupDelayMs: 0,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user