1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

Revert "[PM-5718] Fix free organization generating TOTP (#11918)" (#13357)

This reverts commit 459fb1bcf4.

Co-authored-by: SmithThe4th <gsmithwalter@gmail.com>
This commit is contained in:
Shane Melton
2025-02-11 11:12:56 -08:00
committed by GitHub
parent 65024a1913
commit 182f9baa0f
9 changed files with 20 additions and 90 deletions

View File

@@ -116,7 +116,7 @@
<bit-label [appTextDrag]="totpCodeCopyObj?.totpCode"
>{{ "verificationCodeTotp" | i18n }}
<span
*ngIf="!(allowTotpGeneration$ | async)"
*ngIf="!(isPremium$ | async)"
bitBadge
variant="success"
class="tw-ml-2 tw-cursor-pointer"
@@ -130,14 +130,14 @@
id="totp"
readonly
bitInput
[type]="!(allowTotpGeneration$ | async) ? 'password' : 'text'"
[type]="!(isPremium$ | async) ? 'password' : 'text'"
[value]="totpCodeCopyObj?.totpCodeFormatted || '*** ***'"
aria-readonly="true"
data-testid="login-totp"
class="tw-font-mono"
/>
<div
*ngIf="allowTotpGeneration$ | async"
*ngIf="isPremium$ | async"
bitTotpCountdown
[cipher]="cipher"
bitSuffix
@@ -152,7 +152,7 @@
showToast
[appA11yTitle]="'copyVerificationCode' | i18n"
data-testid="copy-totp"
[disabled]="!(allowTotpGeneration$ | async)"
[disabled]="!(isPremium$ | async)"
class="disabled:tw-cursor-default"
></button>
</bit-form-field>