only build id store if authed

This commit is contained in:
kspearrin 2018-09-21 11:23:34 -04:00
parent f153c7509c
commit 0c8c216fba

View file

@ -147,7 +147,11 @@ namespace Bit.iOS.Autofill
public override void PrepareInterfaceForExtensionConfiguration()
{
base.PrepareInterfaceForExtensionConfiguration();
var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve<ICipherService>());
var authService = Resolver.Resolve<IAuthService>();
if (authService.IsAuthenticated)
{
var task = ASHelpers.ReplaceAllIdentities(Resolver.Resolve<ICipherService>());
}
ExtensionContext.CompleteExtensionConfigurationRequest();
}