Skip to content

Commit

Permalink
An additional protective in case users try to access the passwords li…
Browse files Browse the repository at this point in the history
…st via the extension, before launching the app
  • Loading branch information
amddg44 committed Dec 18, 2024
1 parent 3c2509b commit 3372bc8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ class CredentialProviderViewController: ASCredentialProviderViewController {
tld: tld)

private lazy var secureVault: (any AutofillSecureVault)? = {
try? AutofillSecureVaultFactory.makeVault(reporter: SecureVaultReporter())
if findKeychainItemsWithV4() {
return try? AutofillSecureVaultFactory.makeVault(reporter: SecureVaultReporter())
} else {
return nil
}
}()

private lazy var tld: TLD = TLD()
Expand Down

0 comments on commit 3372bc8

Please sign in to comment.