mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 17:13:50 +00:00
only fetch keys if there are some orgs
This commit is contained in:
@@ -393,7 +393,7 @@ namespace Bit.App.Services
|
||||
|
||||
private async Task SyncOrgKeysAsync(ProfileResponse profile)
|
||||
{
|
||||
if(_cryptoService.PrivateKey == null)
|
||||
if(_cryptoService.PrivateKey == null && (profile.Organizations?.Any() ?? false))
|
||||
{
|
||||
var keys = await _accountsApiRepository.GetKeys();
|
||||
if(!CheckSuccess(keys))
|
||||
|
||||
Reference in New Issue
Block a user