mirror of
https://github.com/bitwarden/mobile
synced 2026-01-02 00:23:15 +00:00
disable favicons and totp copy fix for org
This commit is contained in:
@@ -562,7 +562,7 @@ namespace Bit.Droid.Services
|
||||
{
|
||||
var autoCopyDisabled = await _storageService.GetAsync<bool?>(Constants.DisableAutoTotpCopyKey);
|
||||
var canAccessPremium = await ServiceContainer.Resolve<IUserService>("userService").CanAccessPremiumAsync();
|
||||
if(canAccessPremium && !autoCopyDisabled.GetValueOrDefault() &&
|
||||
if((canAccessPremium || cipher.OrganizationUseTotp) && !autoCopyDisabled.GetValueOrDefault() &&
|
||||
!string.IsNullOrWhiteSpace(cipher?.Login?.Totp))
|
||||
{
|
||||
var totp = await ServiceContainer.Resolve<ITotpService>("totpService").GetCodeAsync(cipher.Login.Totp);
|
||||
|
||||
Reference in New Issue
Block a user