Fix TOTP copy action (#2774)
Fixes an issue where password copy was sometimes populated with a totp
This commit is contained in:
parent
8896cf0dc0
commit
d026c99361
|
@ -52,7 +52,7 @@ export class ActionButtonsComponent {
|
|||
|
||||
if (value == null || (aType === "TOTP" && !this.displayTotpCopyButton(cipher))) {
|
||||
return;
|
||||
} else if (value === cipher.login.totp) {
|
||||
} else if (aType === "TOTP") {
|
||||
value = await this.totpService.getCode(value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue