Skip to content

Commit

Permalink
Fix biometrics being disabled before permission is granted (#12792)
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten authored Jan 13, 2025
1 parent 5dc523b commit 6872100
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export class AccountSecurityComponent implements OnInit, OnDestroy {
switchMap(async () => {
const status = await this.biometricsService.getBiometricsStatusForUser(activeAccount.id);
const biometricSettingAvailable =
!(await BrowserApi.permissionsGranted(["nativeMessaging"])) ||
(status !== BiometricsStatus.DesktopDisconnected &&
status !== BiometricsStatus.NotEnabledInConnectedDesktopApp) ||
(await this.vaultTimeoutSettingsService.isBiometricLockSet());
Expand Down

0 comments on commit 6872100

Please sign in to comment.