15
@@ -237,7 +237,7 @@
diff --git a/libs/angular/src/components/view.component.ts b/libs/angular/src/components/view.component.ts
index 66dbae786c..cbd88383f5 100644
--- a/libs/angular/src/components/view.component.ts
+++ b/libs/angular/src/components/view.component.ts
@@ -50,6 +50,7 @@ export class ViewComponent implements OnDestroy, OnInit {
showCardNumber: boolean;
showCardCode: boolean;
canAccessPremium: boolean;
+ showPremiumRequiredTotp: boolean;
totpCode: string;
totpCodeFormatted: string;
totpDash: number;
@@ -108,6 +109,8 @@ export class ViewComponent implements OnDestroy, OnInit {
const cipher = await this.cipherService.get(this.cipherId);
this.cipher = await cipher.decrypt();
this.canAccessPremium = await this.stateService.getCanAccessPremium();
+ this.showPremiumRequiredTotp =
+ this.cipher.login.totp && !this.canAccessPremium && !this.cipher.organizationUseTotp;
if (
this.cipher.type === CipherType.Login &&