mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[PM-18038] Fix safari using outdated biometrics protocol (#13287)
* Fix safari using outdated biometrics protocol * Remove logging * Remove log * Move canEnableBiometricUnlock to biometric service * Fix build * Add tests * Fix type error * Attempt to fix build * Fix build * Fix test failure
This commit is contained in:
@@ -39,4 +39,5 @@ export abstract class BiometricsService {
|
||||
|
||||
abstract getShouldAutopromptNow(): Promise<boolean>;
|
||||
abstract setShouldAutopromptNow(value: boolean): Promise<void>;
|
||||
abstract canEnableBiometricUnlock(): Promise<boolean>;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,9 @@ export enum BiometricsCommands {
|
||||
/** Get biometric status for a specific user account. This includes both information about availability of cryptographic material (is the user configured for biometric unlock? is a masterpassword unlock needed? But also information about the biometric system's availability in a single status) */
|
||||
GetBiometricsStatusForUser = "getBiometricsStatusForUser",
|
||||
|
||||
/** Checks whether the biometric unlock can be enabled. */
|
||||
CanEnableBiometricUnlock = "canEnableBiometricUnlock",
|
||||
|
||||
// legacy
|
||||
Unlock = "biometricUnlock",
|
||||
IsAvailable = "biometricUnlockAvailable",
|
||||
|
||||
Reference in New Issue
Block a user