From 50aea4f2d24b982ef531d2bbeb2dde716a8cf90f Mon Sep 17 00:00:00 2001 From: Katherine Bertelsen Date: Fri, 26 Apr 2024 12:13:42 -0500 Subject: [PATCH] Allow fallback to device credentials when biometrics fails (#66) --- AuthenticatorShared/Core/Auth/Services/KeychainRepository.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AuthenticatorShared/Core/Auth/Services/KeychainRepository.swift b/AuthenticatorShared/Core/Auth/Services/KeychainRepository.swift index c753ac10..1bce3675 100644 --- a/AuthenticatorShared/Core/Auth/Services/KeychainRepository.swift +++ b/AuthenticatorShared/Core/Auth/Services/KeychainRepository.swift @@ -15,7 +15,7 @@ enum KeychainItem: Equatable { var protection: SecAccessControlCreateFlags? { switch self { case .biometrics: - .biometryCurrentSet + .userPresence case .secretKey: nil }