This commit is contained in:
Max Goedjen 2021-12-01 18:57:08 -08:00
parent 6bb9fd376f
commit aae00d17ae
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ extension SecureEnclave {
public func persistAuthentication(secret: Secret, forDuration duration: TimeInterval) throws {
let newContext = LAContext()
newContext.touchIDAuthenticationAllowableReuseDuration = duration
newContext.localizedCancelTitle = "Deny"
let formatter = DateComponentsFormatter()