From fcde0c64205314c21b6e14832af15ad4d0e91cb8 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Thu, 7 Sep 2023 11:39:56 -0500 Subject: [PATCH] [PM-3792] Copying Verification Code Using the Context Menu for a Vault Item with Re-prompt Copies the TOTP Seed Instead of the Code (#6200) --- apps/browser/src/vault/popup/components/vault/view.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/vault/popup/components/vault/view.component.ts b/apps/browser/src/vault/popup/components/vault/view.component.ts index fe483b1d39e..19c37fc985e 100644 --- a/apps/browser/src/vault/popup/components/vault/view.component.ts +++ b/apps/browser/src/vault/popup/components/vault/view.component.ts @@ -179,7 +179,7 @@ export class ViewComponent extends BaseViewComponent { await this.copy(this.cipher.login.password, "password", "Password"); break; case COPY_VERIFICATIONCODE_ID: - await this.copy(this.cipher.login.totp, "verificationCodeTotp", "TOTP"); + await this.copy(this.totpCode, "verificationCodeTotp", "TOTP"); break; default: break;