Nil out on expiration check

This commit is contained in:
Max Goedjen 2021-11-07 13:37:12 -08:00
parent 600ab463b4
commit 23fede3def
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ extension SecureEnclave {
let newContext = LAContext()
newContext.localizedCancelTitle = "Deny"
context = newContext
persistedAuthenticationContexts[secret] = nil
}
context.localizedReason = "sign a request from \"\(provenance.origin.displayName)\" using secret \"\(secret.name)\""
let attributes = [