mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[PM-26649] Prevent log-out when changing KDF settings (except old clients) (#16775)
* Prevent log-out when changing KDF settings (except old clients) * test coverage * logout reason enum
This commit is contained in:
@@ -37,6 +37,7 @@ export enum FeatureFlag {
|
||||
PM25174_DisableType0Decryption = "pm-25174-disable-type-0-decryption",
|
||||
WindowsBiometricsV2 = "pm-25373-windows-biometrics-v2",
|
||||
UnlockWithMasterPasswordUnlockData = "pm-23246-unlock-with-master-password-unlock-data",
|
||||
NoLogoutOnKdfChange = "pm-23995-no-logout-on-kdf-change",
|
||||
|
||||
/* Tools */
|
||||
DesktopSendUIRefresh = "desktop-send-ui-refresh",
|
||||
@@ -120,6 +121,7 @@ export const DefaultFeatureFlagValue = {
|
||||
[FeatureFlag.PM25174_DisableType0Decryption]: FALSE,
|
||||
[FeatureFlag.WindowsBiometricsV2]: FALSE,
|
||||
[FeatureFlag.UnlockWithMasterPasswordUnlockData]: FALSE,
|
||||
[FeatureFlag.NoLogoutOnKdfChange]: FALSE,
|
||||
|
||||
/* Platform */
|
||||
[FeatureFlag.IpcChannelFramework]: FALSE,
|
||||
|
||||
@@ -6,3 +6,4 @@ export * from "./http-status-code.enum";
|
||||
export * from "./integration-type.enum";
|
||||
export * from "./native-messaging-version.enum";
|
||||
export * from "./notification-type.enum";
|
||||
export * from "./push-notification-logout-reason.enum";
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
export const PushNotificationLogOutReasonType = Object.freeze({
|
||||
KdfChange: 0,
|
||||
} as const);
|
||||
|
||||
export type PushNotificationLogOutReasonType =
|
||||
(typeof PushNotificationLogOutReasonType)[keyof typeof PushNotificationLogOutReasonType];
|
||||
Reference in New Issue
Block a user