Skip to content

Commit

Permalink
Merge pull request #14 from GoodRequest/fix/authentication-Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
marekVrican authored Oct 16, 2024
2 parents f957d2c + 2525d20 commit 8800425
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/GoodPersistence/KeychainValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ public class KeychainValue<T: Codable & Equatable> {
return Keychain.default
.synchronizable(synchronizable)
.accessibility(accessibility)
} else if let authenticationPolicy {
return Keychain.default
.accessibility(Keychain.default.accessibility, authenticationPolicy: authenticationPolicy)
} else {
return Keychain.default
.synchronizable(synchronizable)
Expand Down

0 comments on commit 8800425

Please sign in to comment.