From bca5b95446cba97d97d2c3db124bcee539d61658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bispo?= Date: Fri, 1 Mar 2024 19:43:18 +0000 Subject: [PATCH] [PM-4760] Admin Recovery Permissions prompted to set MP. (#2912) * [PM-4760] Add force password reset check on sync complete. * [PM-4760] Log error on exception --- src/Core/Pages/TabsPage.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Core/Pages/TabsPage.cs b/src/Core/Pages/TabsPage.cs index 0371b44a9..f37c4ee04 100644 --- a/src/Core/Pages/TabsPage.cs +++ b/src/Core/Pages/TabsPage.cs @@ -96,6 +96,14 @@ namespace Bit.App.Pages if (message.Command == "syncCompleted") { MainThread.BeginInvokeOnMainThread(async () => await UpdateVaultButtonTitleAsync()); + try + { + await ForcePasswordResetIfNeededAsync(); + } + catch (Exception ex) + { + _logger.Value.Exception(ex); + } } }); await UpdateVaultButtonTitleAsync();