From c5288d39216896c6f56b99e5c444748e943a3288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bispo?= Date: Tue, 7 Nov 2023 16:46:31 +0000 Subject: [PATCH] [PM-891] Remove check for biometrics from IsLocked method. (#2853) --- src/Core/Services/VaultTimeoutService.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Core/Services/VaultTimeoutService.cs b/src/Core/Services/VaultTimeoutService.cs index b5c985095..d9ee8fd44 100644 --- a/src/Core/Services/VaultTimeoutService.cs +++ b/src/Core/Services/VaultTimeoutService.cs @@ -63,13 +63,6 @@ namespace Bit.Core.Services /// public async Task IsLockedAsync(string userId = null) { - // If biometrics are used, we can use the flag to determine locked state - var biometricSet = await IsBiometricLockSetAsync(userId); - if (biometricSet && await _stateService.GetBiometricLockedAsync(userId)) - { - return true; - } - if (!await _cryptoService.HasUserKeyAsync(userId)) { try