Skip to content

Commit 8800425

Browse files
authored
Merge pull request #14 from GoodRequest/fix/authentication-Policy
2 parents f957d2c + 2525d20 commit 8800425

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/GoodPersistence/KeychainValue.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ public class KeychainValue<T: Codable & Equatable> {
328328
return Keychain.default
329329
.synchronizable(synchronizable)
330330
.accessibility(accessibility)
331+
} else if let authenticationPolicy {
332+
return Keychain.default
333+
.accessibility(Keychain.default.accessibility, authenticationPolicy: authenticationPolicy)
331334
} else {
332335
return Keychain.default
333336
.synchronizable(synchronizable)

0 commit comments

Comments
 (0)