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