Allow only non-deleted creds to be added to autofill (#1015)

This commit is contained in:
Matt Smith 2020-07-16 11:53:02 -05:00 committed by GitHub
parent 10a78c1c94
commit 086c71126f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace Bit.iOS.Core.Utilities
var cipherService = ServiceContainer.Resolve<ICipherService>("cipherService");
var identities = new List<ASPasswordCredentialIdentity>();
var ciphers = await cipherService.GetAllDecryptedAsync();
foreach (var cipher in ciphers)
foreach (var cipher in ciphers.Where(x => !x.IsDeleted))
{
var identity = ToCredentialIdentity(cipher);
if (identity != null)