depot/third_party/nixpkgs/pkgs/by-name/bi/bitwarden-desktop/dont-auto-setup-biometrics.patch

13 lines
799 B
Diff

diff --git a/apps/desktop/src/platform/main/biometric/biometric.unix.main.ts b/apps/desktop/src/platform/main/biometric/biometric.unix.main.ts
index e2428d9d12..de4e9e1e62 100644
--- a/apps/desktop/src/platform/main/biometric/biometric.unix.main.ts
+++ b/apps/desktop/src/platform/main/biometric/biometric.unix.main.ts
@@ -109,7 +109,7 @@ export default class BiometricUnixMain implements OsBiometricService {
// The user needs to manually set up the polkit policy outside of the sandbox
// since we allow access to polkit via dbus for the sandboxed clients, the authentication works from
// the sandbox, once the policy is set up outside of the sandbox.
- return isLinux() && !isSnapStore() && !isFlatpak();
+ return false;
}
async osBiometricsSetup(): Promise<void> {