mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-05 09:01:11 +01: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:
parent
602627b5fa
commit
bca5b95446
@ -96,6 +96,14 @@ namespace Bit.App.Pages
|
|||||||
if (message.Command == "syncCompleted")
|
if (message.Command == "syncCompleted")
|
||||||
{
|
{
|
||||||
MainThread.BeginInvokeOnMainThread(async () => await UpdateVaultButtonTitleAsync());
|
MainThread.BeginInvokeOnMainThread(async () => await UpdateVaultButtonTitleAsync());
|
||||||
|
try
|
||||||
|
{
|
||||||
|
await ForcePasswordResetIfNeededAsync();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Value.Exception(ex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
await UpdateVaultButtonTitleAsync();
|
await UpdateVaultButtonTitleAsync();
|
||||||
|
Loading…
Reference in New Issue
Block a user