1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[SG-659] Classic 2019 plans no longer generating TOTP codes for Free users (#3509)

* [SG-659] Fixed TOTP code visibility for users with classic plans.

* [SG-659] Refactored condition.

* [SG-659] Ran prettier

* [SG-659] Simplified expression.
This commit is contained in:
André Filipe da Silva Bispo
2022-09-13 17:56:10 +01:00
committed by GitHub
parent a4ef63da37
commit acf332b689
4 changed files with 9 additions and 12 deletions

View File

@@ -100,7 +100,7 @@
<div
class="box-content-row box-content-row-flex totp"
[ngClass]="{ low: totpLow }"
*ngIf="cipher.login.totp && totpCode && canAccessPremium"
*ngIf="cipher.login.totp && totpCode"
>
<div class="row-main">
<span
@@ -138,10 +138,7 @@
</button>
</div>
</div>
<div
class="box-content-row box-content-row-flex totp"
*ngIf="cipher.login.totp && !canAccessPremium"
>
<div class="box-content-row box-content-row-flex totp" *ngIf="showPremiumRequiredTotp">
<div class="row-main">
<span class="row-label">{{ "verificationCodeTotp" | i18n }}</span>
<span class="row-label">