[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)

This commit is contained in:
Cesar Gonzalez 2023-09-07 11:39:56 -05:00 committed by GitHub
parent d3d8e3f0c8
commit fcde0c6420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ export class ViewComponent extends BaseViewComponent {
await this.copy(this.cipher.login.password, "password", "Password"); await this.copy(this.cipher.login.password, "password", "Password");
break; break;
case COPY_VERIFICATIONCODE_ID: case COPY_VERIFICATIONCODE_ID:
await this.copy(this.cipher.login.totp, "verificationCodeTotp", "TOTP"); await this.copy(this.totpCode, "verificationCodeTotp", "TOTP");
break; break;
default: default:
break; break;