1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-25 20:53:22 +00:00

Add totp copy to clipboard button to cipher view (#737)

* Add totp copy to clipboard button to cipher view

* Align totp copy privs with cipher view

* Enforce TOTP as premium feature

* Update jslib reference
This commit is contained in:
Matt Gibson
2020-12-15 10:25:52 -06:00
committed by GitHub
parent 1464e0fbe8
commit bcd8963e8b
4 changed files with 28 additions and 7 deletions

View File

@@ -47,6 +47,11 @@
<i class="fa fa-fw fa-clone" aria-hidden="true"></i>
{{'copyPassword' | i18n}}
</a>
<a class="dropdown-item" href="#" appStopClick (click)="copy(c, c.login.totp, 'verificationCodeTotp', 'TOTP')"
*ngIf="displayTotpCopyButton(c)">
<i class="fa fa-fw fa-clone" aria-hidden="true"></i>
{{'copyVerificationCode' | i18n}}
</a>
<a class="dropdown-item" href="#" appStopClick *ngIf="c.login.canLaunch"
(click)="launch(c.login.launchUri)">
<i class="fa fa-fw fa-share-square-o" aria-hidden="true"></i>