1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

[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
This commit is contained in:
André Bispo
2024-03-01 19:43:18 +00:00
committed by GitHub
parent 602627b5fa
commit bca5b95446

View File

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