From 0c8c216fba982dc56a525937ca725de0c29b9303 Mon Sep 17 00:00:00 2001 From: kspearrin Date: Fri, 21 Sep 2018 11:23:34 -0400 Subject: [PATCH] only build id store if authed --- src/iOS.Autofill/CredentialProviderViewController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs index cc299be76..f76a22a57 100644 --- a/src/iOS.Autofill/CredentialProviderViewController.cs +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -147,7 +147,11 @@ namespace Bit.iOS.Autofill public override void PrepareInterfaceForExtensionConfiguration() { base.PrepareInterfaceForExtensionConfiguration(); - var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve()); + var authService = Resolver.Resolve(); + if (authService.IsAuthenticated) + { + var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve()); + } ExtensionContext.CompleteExtensionConfigurationRequest(); }