From 6b68e85077f7def1021bb07d08acd466018518c6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 3 Jun 2019 15:32:40 -0400 Subject: [PATCH] check lock after migration --- src/App/Migration/MigrationHelpers.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App/Migration/MigrationHelpers.cs b/src/App/Migration/MigrationHelpers.cs index 743f29322..e344a1c10 100644 --- a/src/App/Migration/MigrationHelpers.cs +++ b/src/App/Migration/MigrationHelpers.cs @@ -40,6 +40,7 @@ namespace Bit.App.Migration var passwordGenerationService = ServiceContainer.Resolve( "passwordGenerationService"); var syncService = ServiceContainer.Resolve("syncService"); + var lockService = ServiceContainer.Resolve("lockService"); // Get old data @@ -179,6 +180,7 @@ namespace Bit.App.Migration settingsShim.Remove(Constants.OldUserIdKey); Migrating = false; messagingService.Send("migrated"); + await lockService.CheckLockAsync(); var task = Task.Run(() => syncService.FullSyncAsync(true)); return true; }