mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +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:
committed by
GitHub
parent
a4ef63da37
commit
acf332b689
@@ -182,7 +182,7 @@
|
||||
<div class="tw-mb-4 tw-ml-4 tw-flex tw-w-1/2 tw-items-end" [ngClass]="{ low: totpLow }">
|
||||
<div
|
||||
class="totp tw-flex tw-flex-row tw-items-center"
|
||||
*ngIf="!cipher.login.totp || (cipher.login.totp && !canAccessPremium)"
|
||||
*ngIf="!cipher.login.totp || !totpCode"
|
||||
>
|
||||
<span class="totp-countdown">
|
||||
<span class="totp-sec tw-text-muted">15</span>
|
||||
@@ -237,7 +237,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
*ngIf="cipher.login.totp && totpCode && canAccessPremium"
|
||||
*ngIf="cipher.login.totp && totpCode"
|
||||
class="totp tw-flex tw-flex-row tw-items-center"
|
||||
>
|
||||
<span class="totp-countdown">
|
||||
|
||||
Reference in New Issue
Block a user