mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Turn On Debug Info For 2 Keys (#10316)
This commit is contained in:
@@ -38,6 +38,10 @@ export const DEVICE_KEY = new UserKeyDefinition<DeviceKey | null>(
|
|||||||
deviceKey ? (SymmetricCryptoKey.fromJSON(deviceKey) as DeviceKey) : null,
|
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
|
clearOn: [], // Device key is needed to log back into device, so we can't clear it automatically during lock or logout
|
||||||
cleanupDelayMs: 0,
|
cleanupDelayMs: 0,
|
||||||
|
debug: {
|
||||||
|
enableRetrievalLogging: true,
|
||||||
|
enableUpdateLogging: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ import { APPLICATION_ID_DISK, GlobalStateProvider, KeyDefinition } from "../stat
|
|||||||
export const APP_ID_KEY = new KeyDefinition(APPLICATION_ID_DISK, "appId", {
|
export const APP_ID_KEY = new KeyDefinition(APPLICATION_ID_DISK, "appId", {
|
||||||
deserializer: (value: string) => value,
|
deserializer: (value: string) => value,
|
||||||
cleanupDelayMs: 0,
|
cleanupDelayMs: 0,
|
||||||
|
debug: {
|
||||||
|
enableRetrievalLogging: true,
|
||||||
|
enableUpdateLogging: true,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
export const ANONYMOUS_APP_ID_KEY = new KeyDefinition(APPLICATION_ID_DISK, "anonymousAppId", {
|
export const ANONYMOUS_APP_ID_KEY = new KeyDefinition(APPLICATION_ID_DISK, "anonymousAppId", {
|
||||||
deserializer: (value: string) => value,
|
deserializer: (value: string) => value,
|
||||||
|
|||||||
Reference in New Issue
Block a user