mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-11-10 03:35:59 +01:00
Improve validity window
This commit is contained in:
1 parent
79f7177ffb
commit
86719e893b
1 file changed
+1
@@ -142,6 +142,7 @@ extension SecureEnclave {
|
||||
|
||||
public func persistAuthentication(secret: Secret, forDuration duration: TimeInterval) throws {
|
||||
let newContext = LAContext()
|
||||
newContext.touchIDAuthenticationAllowableReuseDuration = duration
|
||||
newContext.localizedCancelTitle = "Deny"
|
||||
|
||||
let formatter = DateComponentsFormatter()
|
||||
|
||||
Reference in new issue
Block a user