1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-24 11:55:38 +01:00

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();
}